diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-27 11:20:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-27 11:20:31 +0200 |
commit | a7bd7367e246ec5b6bb2e2f018a05173ff7e6301 (patch) | |
tree | 41e796b972320267f35fce07b9c77fd82029b3e8 /odb/relational/inline.hxx | |
parent | 8efcb4e093ec9faab36d49474fd3596a2ce90b13 (diff) |
Add support for associating tables with views
Diffstat (limited to 'odb/relational/inline.hxx')
-rw-r--r-- | odb/relational/inline.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/relational/inline.hxx b/odb/relational/inline.hxx index 9abc86f..78d81bf 100644 --- a/odb/relational/inline.hxx +++ b/odb/relational/inline.hxx @@ -274,7 +274,9 @@ namespace relational // query_type // - if (c.count ("objects")) + size_t obj_count (c.get<size_t> ("object-count")); + + if (obj_count != 0) { os << "inline" << endl << traits << "::query_type::" << endl |