added data binding traits
This commit is contained in:
@@ -14,14 +14,15 @@ class connection;
|
||||
|
||||
struct cache_info
|
||||
{
|
||||
std::unique_ptr<statement> statement_;
|
||||
statement statement_;
|
||||
// std::unique_ptr<statement> statement_;
|
||||
size_t connection_id_;
|
||||
};
|
||||
|
||||
class statement_cache
|
||||
{
|
||||
public:
|
||||
statement& acquire(const std::string &stmt, const connection &conn);
|
||||
statement& acquire(query_context &&context, const connection &conn);
|
||||
void release(const statement &stmt);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user