diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/inverse/test.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/inverse/test.hxx b/common/inverse/test.hxx index ad7b108..12eddfb 100644 --- a/common/inverse/test.hxx +++ b/common/inverse/test.hxx @@ -60,26 +60,26 @@ struct obj2 #pragma db id auto int id; - std::string str; - // one-to-one // #pragma db inverse(o2) obj1_ptr o1; + + std::string str; }; #pragma db object struct obj3 { - #pragma db id auto - int id; - std::string str; // one(i)-to-many // #pragma db inverse (o3) obj1_ptr o1; + + #pragma db id auto + int id; }; #pragma db object |