aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/database.ixx
blob: a4f5040f8d5efe3c76bd30f1c4168c94d2c4f418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// file      : odb/pgsql/database.ixx
// author    : Constantin Michael <constantin@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

namespace odb
{
  namespace pgsql
  {
    inline details::shared_ptr<database::connection_type> database::
    connection ()
    {
      return factory_->connect ();
    }
  }
}