diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-12 17:24:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-19 11:41:11 +0200 |
commit | f2e4c2c70344dd1a98593cfbe9256d1b3ed54f27 (patch) | |
tree | 713e2b8625aa9db41f2c18194baf68b830df39a3 /common/prepared/test.hxx | |
parent | 3fd1098c70a36cdffa256b6d9fd721cf95c6f482 (diff) |
Completion of prepared query support
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 |