diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
commit | 382035d872a2cbb22fc14d3c87db93b1f39b407b (patch) | |
tree | eae01dfdad70ffc916e3dc23a6f279a1a25a1556 /odb/sqlite/query.ixx | |
parent | d8fed1d9dbab80e14033b385c604abb41cc84390 (diff) |
Ground work for multi-database support
All generated code now includes database id. The database-specific
database class interface has been updated to include all the database
operations. The database-specific tests now use this interface.
Diffstat (limited to 'odb/sqlite/query.ixx')
-rw-r--r-- | odb/sqlite/query.ixx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/sqlite/query.ixx b/odb/sqlite/query.ixx index 113b376..631749f 100644 --- a/odb/sqlite/query.ixx +++ b/odb/sqlite/query.ixx @@ -6,20 +6,20 @@ namespace odb { namespace sqlite { - inline binding& query:: + inline binding& query_base:: parameters_binding () const { return parameters_->binding (); } - inline details::shared_ptr<query_params> query:: + inline details::shared_ptr<query_params> query_base:: parameters () const { return parameters_; } template <typename T, database_type_id ID> - inline void query:: + inline void query_base:: append (val_bind<T> v, const char* conv) { add ( @@ -29,7 +29,7 @@ namespace odb } template <typename T, database_type_id ID> - inline void query:: + inline void query_base:: append (ref_bind<T> r, const char* conv) { add ( |