updated build system
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user