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

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