From e514a43339bbce7c8d15fb1350674ecfc5649e14 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 11 Oct 2011 16:52:45 +0200 Subject: 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. --- odb/sqlite/forward.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'odb/sqlite/forward.hxx') 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; -- cgit v1.1