diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-22 14:18:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-22 14:18:40 +0200 |
commit | 759c865ebbdf8401e58ef5df705f9d1ad3d83cc9 (patch) | |
tree | 142b8b4f0ef70774632ae6e9254b9514ccbc8d29 /odb/mysql/common.hxx | |
parent | 4a50c5a7e9976587569276c768f85ad481694e70 (diff) |
Implement support for one-to-{one,many} inverse relationships
New pragma: inverse.
Diffstat (limited to 'odb/mysql/common.hxx')
-rw-r--r-- | odb/mysql/common.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/odb/mysql/common.hxx b/odb/mysql/common.hxx index fb1f2a3..3044aa9 100644 --- a/odb/mysql/common.hxx +++ b/odb/mysql/common.hxx @@ -66,9 +66,13 @@ namespace mysql } }; - virtual void + // The false return value indicates that no further callbacks + // should be called for this member. + // + virtual bool pre (member_info&) { + return true; } virtual void @@ -248,7 +252,7 @@ namespace mysql virtual void composite (semantics::data_member&, semantics::type&); - virtual void + virtual bool column (semantics::data_member&, string const&, bool); private: |