[DiscordArchive] > How to get the result of a async prepared world db mysql query from a custom cpp script?
[DiscordArchive] > How to get the result of a async prepared world db mysql query from a custom cpp script?
Archived author: M'Dic • Posted: 2020-10-05T17:11:37.650000+00:00
Original source
> How to get the result of a async prepared world db mysql query from a custom cpp script?
> WorldDatabasePreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WORLD_SEL_MYTHIC_DUNGEON);
> WorldDatabase.AsyncQuery(stmt);
>
> I already added the query to WorldDatabase, but im not sure how to handle/work with the result
<@!226218997912305664> Mythic dungeon? what source code core are u working with?
Archived author: GvR Mr Mister • Posted: 2020-10-05T17:41:57.322000+00:00
Original source
my own custom fork. im a cpp noob and try to learn by doing <@!209317995057643521>
Archived author: GvR Mr Mister • Posted: 2020-10-05T17:43:10.730000+00:00
Original source
i know callback in js, but have no clue how to do it here
Archived author: GvR Mr Mister • Posted: 2020-10-05T17:44:21.078000+00:00
Original source
i would like to know how to do a own sql query in a custom script