aboutsummaryrefslogtreecommitdiff
path: root/odb/connection.txx
blob: c5662d93fdd15db497395d32dfd109e13396a7d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// file      : odb/connection.txx
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

namespace odb
{
  template <typename T>
  prepared_query<T> connection::
  prepare_query (const char* n, const query<T>& q)
  {
    //@@ Views. Inline?
    //
    return prepared_query<T> (
      object_traits_impl<T, id_default>::prepare_query (*this, n, q));
  }
}