summaryrefslogtreecommitdiff
path: root/odb/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-06 08:57:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-06 08:57:30 +0200
commitf5e457f5dee11cbd20fc3557f79d6e1f235fb89f (patch)
tree17b21ea5494e37aea6a336284990ebb6424466e8 /odb/context.hxx
parent2ca4828d303fdd27c573429910f7a25fd1e3727c (diff)
Implement join types support in views
Diffstat (limited to 'odb/context.hxx')
-rw-r--r--odb/context.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx
index d6e4713..c408063 100644
--- a/odb/context.hxx
+++ b/odb/context.hxx
@@ -159,8 +159,10 @@ struct view_object
name () const;
enum kind_type { object, table };
+ enum join_type { left, right, full, inner, cross };
kind_type kind;
+ join_type join;
tree obj_node; // Tree node if kind is object.
std::string obj_name; // Name as specified in the pragma if kind is object.
qname tbl_name; // Table name if kind is table.