mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
[Hot Fix] Fix Bot Data Repository (#2618)
* [Hot Fix] Fix Bot Data Repository Query was in wrong order. * Update base_repository.template
This commit is contained in:
parent
423e6ae751
commit
a9c161011e
@ -301,8 +301,8 @@ public:
|
|||||||
auto results = db.QueryDatabase(
|
auto results = db.QueryDatabase(
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"{} WHERE {} = {} LIMIT 1",
|
"{} WHERE {} = {} LIMIT 1",
|
||||||
PrimaryKey(),
|
|
||||||
BaseSelect(),
|
BaseSelect(),
|
||||||
|
PrimaryKey(),
|
||||||
bot_data_id
|
bot_data_id
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -105,8 +105,8 @@ public:
|
|||||||
auto results = db.QueryDatabase(
|
auto results = db.QueryDatabase(
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"{} WHERE {} = {} LIMIT 1",
|
"{} WHERE {} = {} LIMIT 1",
|
||||||
PrimaryKey(),
|
|
||||||
BaseSelect(),
|
BaseSelect(),
|
||||||
|
PrimaryKey(),
|
||||||
{{TABLE_NAME_VAR}}_id
|
{{TABLE_NAME_VAR}}_id
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user