aboutsummaryrefslogtreecommitdiff
path: root/common/view/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/view/test.hxx')
-rw-r--r--common/view/test.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/view/test.hxx b/common/view/test.hxx
index 2497097..b5b9d65 100644
--- a/common/view/test.hxx
+++ b/common/view/test.hxx
@@ -164,7 +164,7 @@ struct view1b
// Runtime query.
//
-#pragma db view query()
+#pragma db view //query()
struct view1c
{
std::string first;
@@ -415,7 +415,7 @@ struct view10
// Composite in object.
//
#pragma db view object(person) \
- query((person::measures.weight > 60 && person::measures.hight < 190) \
+ query((person::measures.weight > 60 && person::measures.hight < 190 && (?)) \
+ "ORDER BY" + person::age)
struct view11
{