diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-11 16:52:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-21 19:03:04 +0200 |
commit | 889e08e66a975d6deb6468f9ce608a7c3e263073 (patch) | |
tree | ca8f31f538fd2dd2383ec686e9c0c57d5c279a0c /odb/mysql/forward.hxx | |
parent | 0f878bebf2dcb0332614cd8acfe429152779c2c9 (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/mysql/forward.hxx')
-rw-r--r-- | odb/mysql/forward.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/mysql/forward.hxx b/odb/mysql/forward.hxx index 08ada00..5d665dc 100644 --- a/odb/mysql/forward.hxx +++ b/odb/mysql/forward.hxx @@ -23,6 +23,13 @@ namespace odb // Implementation details. // + enum statement_kind + { + statement_select, + statement_insert, + statement_update + }; + class binding; class select_statement; |