* Factory function for creating a new query condition with a string * datatype. * * **Example:** * @code{.cpp} * tiledb::Context ctx; * auto a1 = tiledb::QueryCondition::create(ctx, "a1", "foo", TILEDB_LE); * @endcode * * @tparam T Datatype of the attribute. Can either be arithmetic type or * string. * @param ctx The TileDB context. * @param name The attribute n
| 257 | * @return A new QueryCondition object. |
| 258 | */ |
| 259 | static QueryCondition create( |
| 260 | const Context& ctx, |
| 261 | const std::string& attribute_name, |
| 262 | const std::string& value, |
| 263 | tiledb_query_condition_op_t op) { |
| 264 | QueryCondition qc(ctx); |
| 265 | qc.init(attribute_name, value, op); |
| 266 | return qc; |
| 267 | } |
| 268 | |
| 269 | /** |
| 270 | * Factory function for creating a new query condition with datatype T. |