From 759c865ebbdf8401e58ef5df705f9d1ad3d83cc9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Nov 2010 14:18:40 +0200 Subject: Implement support for one-to-{one,many} inverse relationships New pragma: inverse. --- odb/common.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'odb/common.hxx') diff --git a/odb/common.hxx b/odb/common.hxx index 3811ea9..96d1330 100644 --- a/odb/common.hxx +++ b/odb/common.hxx @@ -90,7 +90,10 @@ private: // struct object_columns_base: traversal::class_ { - virtual void + // Returning false means that the column has been ignored and the + // first flag should not be changed. + // + virtual bool column (semantics::data_member&, std::string const& name, bool first) = 0; // If you override this function, always call the base. The second argument -- cgit v1.1