From 2c44802ec25744ba351536a41f3ffc28d56282be 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/pgsql/forward.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'odb/pgsql/forward.hxx') diff --git a/odb/pgsql/forward.hxx b/odb/pgsql/forward.hxx index 0e1fb10..2ec44ec 100644 --- a/odb/pgsql/forward.hxx +++ b/odb/pgsql/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