aboutsummaryrefslogtreecommitdiff
path: root/odb/connection.txx
blob: f44cdad5bce5ad0716d6b09740a832a766486433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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<T>::prepare_query (*this, n, q));
  }
}