/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to src/connection.cc

  • Committer: Tim Marston
  • Date: 2014-01-03 12:50:19 UTC
  • Revision ID: tim@ed.am-20140103125019-h8r38347wjg92brr
updated ignores

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <sqlite3cc/connection.h>
24
24
#include <sqlite3cc/exception.h>
 
25
#include <sqlite3cc/command.h>
 
26
#include <sqlite3cc/query.h>
25
27
 
26
28
 
27
29
sqlite::connection::mutex_guard::mutex_guard(
101
103
{
102
104
        return sqlite3_busy_timeout( _handle, duration );
103
105
}
 
106
 
 
107
 
 
108
boost::shared_ptr< sqlite::command > sqlite::connection::make_command(
 
109
        std::string sql )
 
110
{
 
111
        return boost::shared_ptr< sqlite::command >(
 
112
                new sqlite::command( *this, sql ) );
 
113
}
 
114
 
 
115
 
 
116
boost::shared_ptr< sqlite::query > sqlite::connection::make_query(
 
117
        std::string sql )
 
118
{
 
119
        return boost::shared_ptr< sqlite::query >(
 
120
                new sqlite::query( *this, sql ) );
 
121
}