diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-11 16:52:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-21 19:06:55 +0200 |
commit | e514a43339bbce7c8d15fb1350674ecfc5649e14 (patch) | |
tree | 3dc9d152ead52740fd0dc470fc62eb85108b8ebe /odb/sqlite/forward.hxx | |
parent | 0cd9d3b8bbe0e243c37336b3b8ffb3d40e968034 (diff) |
Split 'in' binding into insert/update pair; rename 'out' to select
Also add the initial infrastructure for the readonly members support.
Right now the split insert/update bindings allows us to avoid sending
object id in UPDATE statements. It will also allows us to support
readonly members.
Diffstat (limited to 'odb/sqlite/forward.hxx')
-rw-r--r-- | odb/sqlite/forward.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/sqlite/forward.hxx b/odb/sqlite/forward.hxx index 5203434..23d995e 100644 --- a/odb/sqlite/forward.hxx +++ b/odb/sqlite/forward.hxx @@ -23,6 +23,13 @@ namespace odb // Implementation details. // + enum statement_kind + { + statement_select, + statement_insert, + statement_update + }; + class binding; class select_statement; |