summaryrefslogtreecommitdiff
path: root/odb/relational/context.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:25:06 +0200
commitb2f0cd834b8f5651985357f8acbe82edd7d11c63 (patch)
tree591f652e2f49631a0920828598eba4fff28fcfc8 /odb/relational/context.hxx
parent5ff1382aeae38946889b1e09a21bde1c48475dfd (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/relational/context.hxx')
-rw-r--r--odb/relational/context.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/relational/context.hxx b/odb/relational/context.hxx
index 7bff5b1..cd2bce5 100644
--- a/odb/relational/context.hxx
+++ b/odb/relational/context.hxx
@@ -10,6 +10,14 @@
namespace relational
{
+ enum statement_kind
+ {
+ statement_select,
+ statement_insert,
+ statement_update,
+ statement_where // WHERE clause.
+ };
+
class context: public virtual ::context
{
public: