summaryrefslogtreecommitdiff
path: root/icetray/icetray/sqlSource.cpp
blob: f4d4525a59dbe9af76a2b5a015b82683557ebcae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "sqlSource.h"
#include <command_fwd.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());
	}
}