// file : odb/connection.txx // copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file namespace odb { template struct connection::query_ { template static prepared_query call (connection& c, const char* n, const Q& q) { // C++ compiler complaining there is no prepare_query()? Perhaps // you forgot to specify --generate-prepared when compiling your // persistent classes. // return prepared_query ( object_traits_impl::prepare_query (c, n, q)); } }; template struct connection::query_ { template static prepared_query call (connection& c, const char* n, const Q& q) { // C++ compiler complaining there is no prepare_query()? Perhaps // you forgot to specify --generate-prepared when compiling your // views. // return prepared_query ( view_traits_impl::prepare_query (c, n, q)); } }; template void connection:: params_deleter (void* p) { delete static_cast (p); } }