diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-15 18:43:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-15 18:44:22 +0200 |
commit | 8f6a9c51bc64226d7c296e4b0172f9e56a7eea3b (patch) | |
tree | 3274ba7b223cd330e7d6bd29844ad5cabfadc82a /odb/relational/model.hxx | |
parent | 4d134880196e85e06d5ff4e83a26a3b15027706a (diff) |
Implement SQLite incremental BLOB/TEXT I/O
Diffstat (limited to 'odb/relational/model.hxx')
-rw-r--r-- | odb/relational/model.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/odb/relational/model.hxx b/odb/relational/model.hxx index 13c67d7..3b53c67 100644 --- a/odb/relational/model.hxx +++ b/odb/relational/model.hxx @@ -115,8 +115,7 @@ namespace relational (key_prefix_.empty () ? m.name () : key_prefix_)); sema_rel::column& c ( - model_.new_node<sema_rel::column> ( - col_id, column_type (), null (m))); + model_.new_node<sema_rel::column> (col_id, type (m), null (m))); c.set ("cxx-location", m.location ()); c.set ("member-path", member_path_); model_.new_edge<sema_rel::unames> (table_, c, name); @@ -142,6 +141,12 @@ namespace relational return true; } + virtual string + type (semantics::data_member&) + { + return object_columns_base::column_type (); + } + virtual bool null (semantics::data_member&) { |