diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-05 14:17:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-05 14:17:07 +0200 |
commit | 2ca4828d303fdd27c573429910f7a25fd1e3727c (patch) | |
tree | d2637c11861d44a634ecc09bbe88c3a3ff350b16 /odb/context.hxx | |
parent | 8e69f40ab32dc8604b68f360ae30fa961ba036ee (diff) |
Implement result modifiers in view query condition
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index 34f9692..d6e4713 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -199,6 +199,8 @@ view_relationship_map; // struct view_query { + view_query (): distinct (false), for_update (false) {} + enum kind_type { runtime, @@ -212,6 +214,11 @@ struct view_query cxx_tokens expr; tree scope; location_t loc; + + // Result modifiers (only for condition). + // + bool distinct; // SELECT DISTINCT + bool for_update; // SELECT FOR UPDATE }; // |