fix
This commit is contained in:
		| @@ -111,7 +111,7 @@ struct db_comp_next_limit_t final { | ||||
|  | ||||
|   using wn_t = db_where_next_limit_t<db_comp_next_limit_t, ctx_t, op_t, w_t>; | ||||
|  | ||||
|   [[nodiscard]] auto create(std::string operation, db::db_types_t value) { | ||||
|   [[nodiscard]] auto create(std::string operation, db_types_t value) { | ||||
|     owner->actions.emplace_back(db_comp_data_t{ | ||||
|         column_name, | ||||
|         operation, | ||||
| @@ -125,19 +125,19 @@ struct db_comp_next_limit_t final { | ||||
|     }; | ||||
|   } | ||||
|  | ||||
|   auto equals(db::db_types_t value) -> wn_t { return create("=", value); }; | ||||
|   auto equals(db_types_t value) -> wn_t { return create("=", value); }; | ||||
|  | ||||
|   auto gt(db::db_types_t value) -> wn_t { return create(">", value); } | ||||
|   auto gt(db_types_t value) -> wn_t { return create(">", value); } | ||||
|  | ||||
|   auto gte(db::db_types_t value) -> wn_t { return create(">=", value); } | ||||
|   auto gte(db_types_t value) -> wn_t { return create(">=", value); } | ||||
|  | ||||
|   auto like(db::db_types_t value) -> wn_t { return create("LIKE", value); } | ||||
|   auto like(db_types_t value) -> wn_t { return create("LIKE", value); } | ||||
|  | ||||
|   auto lt(db::db_types_t value) -> wn_t { return create("<", value); } | ||||
|   auto lt(db_types_t value) -> wn_t { return create("<", value); } | ||||
|  | ||||
|   auto lte(db::db_types_t value) -> wn_t { return create("<=", value); } | ||||
|   auto lte(db_types_t value) -> wn_t { return create("<=", value); } | ||||
|  | ||||
|   auto not_equals(db::db_types_t value) -> wn_t { return create("!=", value); }; | ||||
|   auto not_equals(db_types_t value) -> wn_t { return create("!=", value); }; | ||||
| }; | ||||
|  | ||||
| template <typename ctx_t, typename op_t> struct db_where_with_limit_t final { | ||||
|   | ||||
| @@ -95,7 +95,7 @@ struct db_comp_next_t final { | ||||
|  | ||||
|   using wn_t = db_where_next_t<db_comp_next_t, ctx_t, op_t, w_t>; | ||||
|  | ||||
|   [[nodiscard]] auto create(std::string operation, db::db_types_t value) { | ||||
|   [[nodiscard]] auto create(std::string operation, db_types_t value) { | ||||
|     owner->actions.emplace_back(db_comp_data_t{ | ||||
|         column_name, | ||||
|         operation, | ||||
| @@ -109,19 +109,19 @@ struct db_comp_next_t final { | ||||
|     }; | ||||
|   } | ||||
|  | ||||
|   auto equals(db::db_types_t value) -> wn_t { return create("=", value); }; | ||||
|   auto equals(db_types_t value) -> wn_t { return create("=", value); }; | ||||
|  | ||||
|   auto gt(db::db_types_t value) -> wn_t { return create(">", value); } | ||||
|   auto gt(db_types_t value) -> wn_t { return create(">", value); } | ||||
|  | ||||
|   auto gte(db::db_types_t value) -> wn_t { return create(">=", value); } | ||||
|   auto gte(db_types_t value) -> wn_t { return create(">=", value); } | ||||
|  | ||||
|   auto like(db::db_types_t value) -> wn_t { return create("LIKE", value); } | ||||
|   auto like(db_types_t value) -> wn_t { return create("LIKE", value); } | ||||
|  | ||||
|   auto lt(db::db_types_t value) -> wn_t { return create("<", value); } | ||||
|   auto lt(db_types_t value) -> wn_t { return create("<", value); } | ||||
|  | ||||
|   auto lte(db::db_types_t value) -> wn_t { return create("<=", value); } | ||||
|   auto lte(db_types_t value) -> wn_t { return create("<=", value); } | ||||
|  | ||||
|   auto not_equals(db::db_types_t value) -> wn_t { return create("!=", value); }; | ||||
|   auto not_equals(db_types_t value) -> wn_t { return create("!=", value); }; | ||||
| }; | ||||
|  | ||||
| template <typename ctx_t, typename op_t> struct db_where_t final { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user