removed class query and moved their static methods to simple functions
This commit is contained in:
@@ -21,7 +21,7 @@ session::session(session_context&& ctx, const query::schema &scm)
|
||||
}
|
||||
|
||||
utils::result<void, utils::error> session::drop_table(const std::string &table_name) const {
|
||||
auto result = query::query::drop()
|
||||
auto result = query::drop()
|
||||
.table(table_name)
|
||||
.execute(*this);
|
||||
if (result.is_error()) {
|
||||
|
||||
Reference in New Issue
Block a user