From 15b1a95942518c84f8161c59820ea5d0e49a4e54 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Apr 2012 11:36:43 +0200 Subject: Add support for NULL pointers to objects with composite object ids --- odb/context.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'odb/context.hxx') diff --git a/odb/context.hxx b/odb/context.hxx index 2bb91cb..0bb58ba 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -425,12 +425,15 @@ public: return c.count ("readonly"); } + // Null-able. // - // - bool + static bool + null (data_member_path const&); + + static bool null (semantics::data_member&); - bool + static bool null (semantics::data_member&, string const& key_prefix); // Optimistic concurrency. -- cgit v1.1