query builder progress

This commit is contained in:
Sascha Kühl
2025-12-02 16:19:13 +01:00
parent c156ab5e74
commit bfbbd4c589
31 changed files with 348 additions and 164 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ enum class basic_type : uint8_t {
type_date, /*!< Data type date */
type_time, /*!< Data type time */
type_blob, /*!< Data type blob */
type_null /*!< Data type null */
type_null, /*!< Data type null */
type_unknown /*!< Data type unknown */
};
}
+5 -1
View File
@@ -19,7 +19,11 @@ class attribute_writer;
* for a data type
*/
template < class Type, class Enable = void >
struct data_type_traits;
struct data_type_traits {
static basic_type type(std::size_t /*size*/) { return basic_type::type_unknown; }
static void read_value(attribute_reader &/*reader*/, const char *id, size_t index, nullptr_t &/*value*/, size_t /*size*/ = 0) {}
static void bind_value(attribute_writer &/*binder*/, size_t index, nullptr_t &/*value*/, size_t /*size*/ = 0) {}
};
}
#endif //BASIC_TYPE_TRAITS_HPP