diff options
Diffstat (limited to 'odb/pgsql/traits-calls.hxx')
-rw-r--r-- | odb/pgsql/traits-calls.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/pgsql/traits-calls.hxx b/odb/pgsql/traits-calls.hxx index 5f2e11b..ee91e62 100644 --- a/odb/pgsql/traits-calls.hxx +++ b/odb/pgsql/traits-calls.hxx @@ -71,6 +71,12 @@ namespace odb { return traits::find_ (sts, id); } + + static void + load_ (typename traits::statements_type& sts, T& o, bool reload) + { + return traits::load_ (sts, o, reload); + } }; template <typename T> @@ -121,6 +127,12 @@ namespace odb return traits::find_ (sts, id, svm_); } + void + load_ (typename traits::statements_type& sts, T& o, bool reload) const + { + return traits::load_ (sts, o, reload, svm_); + } + private: const schema_version_migration& svm_; }; |