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 | 55a308d14dc12594c365767d738f71893248f159 (patch) | |
tree | e519c314dc64c87213415d4a7a363ac49ea5d6b9 /common/view/basics/test.hxx | |
parent | 504fa38f3f71c345f41dfbb7e59b1d2f88308987 (diff) |
Implement result modifiers in view query condition
Diffstat (limited to 'common/view/basics/test.hxx')
-rw-r--r-- | common/view/basics/test.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/common/view/basics/test.hxx b/common/view/basics/test.hxx index 18fae4b..e9d61a5 100644 --- a/common/view/basics/test.hxx +++ b/common/view/basics/test.hxx @@ -492,4 +492,22 @@ struct view12 std::string residence; }; +// +// Test 'distinct' result modifier. +// +#pragma db view object(employer) object(person) query(distinct) +struct view13 +{ + std::string name; +}; + +// +// Test 'for_update' result modifier. +// +#pragma db view object(employer) query((?), for_update) +struct view14 +{ + std::string name; +}; + #endif // TEST_HXX |