statement cache progress

This commit is contained in:
Sascha Kühl
2024-01-04 15:52:29 +01:00
parent 94b1c356a5
commit 4504c783e1
4 changed files with 52 additions and 12 deletions
+10
View File
@@ -6,4 +6,14 @@ statement_impl::statement_impl(query_context query)
: query_(std::move(query))
{}
void statement_impl::bind(size_t pos, const char *value, size_t size)
{
data_type_traits<const char*>::bind_value(binder(), pos, value, size);
}
void statement_impl::bind(size_t pos, std::string &val, size_t size)
{
data_type_traits<std::string>::bind_value(binder(), pos, val, size);
}
}