aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/forward.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-21 19:04:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-21 19:04:18 +0200
commit43fa37a1c2cf12fad0a0c39e42e8a9c92be3663b (patch)
treedadd6cec3e97f00b244c00231126e46b86a41815 /odb/oracle/forward.hxx
parent44eb5fb529353d8ee39ed25fe0016527fbfd8640 (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/oracle/forward.hxx')
-rw-r--r--odb/oracle/forward.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/oracle/forward.hxx b/odb/oracle/forward.hxx
index 98fc752..c4fb40b 100644
--- a/odb/oracle/forward.hxx
+++ b/odb/oracle/forward.hxx
@@ -23,6 +23,13 @@ namespace odb
// Implementation details.
//
+ enum statement_kind
+ {
+ statement_select,
+ statement_insert,
+ statement_update
+ };
+
class binding;
class select_statement;