mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +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:
@@ -301,8 +301,8 @@ public:
|
||||
auto results = db.QueryDatabase(
|
||||
fmt::format(
|
||||
"{} WHERE {} = {} LIMIT 1",
|
||||
PrimaryKey(),
|
||||
BaseSelect(),
|
||||
PrimaryKey(),
|
||||
bot_data_id
|
||||
)
|
||||
);
|
||||
|
||||
@@ -105,8 +105,8 @@ public:
|
||||
auto results = db.QueryDatabase(
|
||||
fmt::format(
|
||||
"{} WHERE {} = {} LIMIT 1",
|
||||
PrimaryKey(),
|
||||
BaseSelect(),
|
||||
PrimaryKey(),
|
||||
{{TABLE_NAME_VAR}}_id
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user