aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/forward.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-11 16:52:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-21 19:05:53 +0200
commit2c44802ec25744ba351536a41f3ffc28d56282be (patch)
treee83c351e089f7716fefaa8bdf2988538580961cf /odb/pgsql/forward.hxx
parent5637ac2d280529b53454ed80698963525cd36f19 (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/pgsql/forward.hxx')
-rw-r--r--odb/pgsql/forward.hxx7
1 files changed, 7 insertions, 0 deletions
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;