aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/database.ixx
blob: 654b8f984cb1ffc254f58d7234d6f673eb5466cf (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-2010 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 ();
    }
  }
}