diff options
Diffstat (limited to 'common/prepared/test.hxx')
-rw-r--r-- | common/prepared/test.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/prepared/test.hxx b/common/prepared/test.hxx index 734b138..7ea0ce8 100644 --- a/common/prepared/test.hxx +++ b/common/prepared/test.hxx @@ -23,4 +23,11 @@ struct person unsigned short age_; }; +#pragma db view object(person) +struct person_view +{ + std::string name; + unsigned short age; +}; + #endif // TEST_HXX |