summaryrefslogtreecommitdiff
path: root/icetray/icetray/sqlSource.cpp
blob: fee879979cc50bdee864d87d1ea42abcc48d3d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "sqlSource.h"
#include <command.h>
#include <connection.h>

namespace IceTray {
	DB::ModifyCommandPtr
	SqlSource::modify(DB::Connection * db) const
	{
		return db->modify(getSql(), getCommandOptions());
	}

	DB::SelectCommandPtr
	SqlSource::select(DB::Connection * db) const
	{
		return db->select(getSql(), getCommandOptions());
	}
}