updated build system

This commit is contained in:
2024-10-10 14:20:19 -05:00
parent ea249723f9
commit d3f3048568
5 changed files with 21 additions and 241 deletions

View File

@@ -82,6 +82,7 @@ auto meta_db::get_api_path(const std::string &source_path,
.column("api_path")
.where("source_path")
.equals(source_path)
.op()
.limit(1)
.go();
@@ -120,6 +121,7 @@ auto meta_db::get_item_meta(const std::string &api_path,
.where("api_path")
.equals(api_path)
.limit(1)
.op()
.go();
if (not result.has_row()) {
return api_error::item_not_found;
@@ -159,6 +161,7 @@ auto meta_db::get_item_meta(const std::string &api_path, const std::string &key,
.column("*")
.where("api_path")
.equals(api_path)
.op()
.limit(1)
.go();
if (not result.has_row()) {