diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 15:50:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 15:50:06 +0200 |
commit | 14b94b2a6cc24d8539e1c71ccd1d5e0728b50ec0 (patch) | |
tree | d82c23746eeda1f9bc5e77926aefb9a1f041fb9b /odb/mysql/polymorphic-object-statements.hxx | |
parent | e514e34ac0e8483d112b316ae3fc97b8e06a3fe0 (diff) |
Add support for change-tracking containers
ODB now supports "smart" ordered containers. Such containers get extra
functions for updating and deleting individual elements. Based on this
functionality implement two change-tracking containers: odb::vector
(equivalent to std::vector) and QOdbList (equivalent to QList). New
tests: common/container/change-tracking and qt/common/container/change-
tracking.
Diffstat (limited to 'odb/mysql/polymorphic-object-statements.hxx')
-rw-r--r-- | odb/mysql/polymorphic-object-statements.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/polymorphic-object-statements.hxx b/odb/mysql/polymorphic-object-statements.hxx index 060654a..ffa9a6a 100644 --- a/odb/mysql/polymorphic-object-statements.hxx +++ b/odb/mysql/polymorphic-object-statements.hxx @@ -348,7 +348,7 @@ namespace odb container_statement_cache_type& container_statment_cache () { - return container_statement_cache_.get (conn_); + return container_statement_cache_.get (conn_, id_image_binding ()); } public: |