From f5e457f5dee11cbd20fc3557f79d6e1f235fb89f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 6 Feb 2015 08:57:30 +0200 Subject: Implement join types support in views --- odb/context.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/context.hxx') 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. -- cgit v1.1