From 5e584aef61346117ba7cb7d7713de56ab2303bdc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 21 Nov 2014 07:28:16 +0200 Subject: Add database-specific persist(const T&) --- odb/sqlite/database.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'odb/sqlite/database.hxx') diff --git a/odb/sqlite/database.hxx b/odb/sqlite/database.hxx index 0eef6d5..f3d8248 100644 --- a/odb/sqlite/database.hxx +++ b/odb/sqlite/database.hxx @@ -124,6 +124,10 @@ namespace odb template typename object_traits::id_type + persist (const T& object); + + template + typename object_traits::id_type persist (T* obj_ptr); template class P> -- cgit v1.1