diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-19 13:42:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-19 13:42:18 +0200 |
commit | 72951cb80852683bdd2707031471580620733e2f (patch) | |
tree | c5bf96a9a4298c4c78f8bcf267d699c64106db73 /relationship/employee.hxx | |
parent | 261936f0f24a40276116a4ce1f0707d16754c5ae (diff) |
New design for NULL semantics
Now, instead of being specified as part of the SQL type with the type
pragma, there are separate null and not_null pragmas. The not_null
pragma was used to control NULL-ness of object pointers. Now the two
pragmas are used consistently for object pointers and simple values
(and in the future will work for composite values and containers).
Diffstat (limited to 'relationship/employee.hxx')
-rw-r--r-- | relationship/employee.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/relationship/employee.hxx b/relationship/employee.hxx index e89e704..86fe82d 100644 --- a/relationship/employee.hxx +++ b/relationship/employee.hxx @@ -154,7 +154,7 @@ private: #pragma db not_null shared_ptr<employer_type> employer_; - #pragma db not_null unordered + #pragma db value_not_null unordered projects_type projects_; }; |