query builder progress
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user