blob: 9844cc4b6d3ede408c54cb2b3aa3b44b8fc3dfe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include "abstractDatabaseClient.h"
#include <cache.impl.h>
template class AdHoc::Cache<boost::shared_ptr<boost::any>, std::vector<std::size_t>>;
AbstractDatabaseClient::AbstractDatabaseClient(AdHoc::ResourcePool<DB::Connection> & d) :
db(d)
{
}
template<>
void
AbstractDatabaseClient::bind1(int o, DB::Command * cmd, const std::string & p)
{
cmd->bindParamS(o, p);
}
template<>
void
AbstractDatabaseClient::bind1(int o, DB::Command * cmd, const int & p)
{
cmd->bindParamI(o, p);
}
void
AbstractDatabaseClient::bind(int, DB::Command *)
{
}
void
AbstractDatabaseClient::keyPushParams(CacheKey &)
{
}
|