removed namespace interface
This commit is contained in:
@@ -12,19 +12,19 @@ protected:
|
||||
public:
|
||||
virtual ~statement_proxy() = default;
|
||||
|
||||
virtual utils::result<size_t, utils::error> execute(interface::parameter_binder& bindings) = 0;
|
||||
virtual utils::result<std::unique_ptr<query_result_impl>, utils::error> fetch(interface::parameter_binder& bindings) = 0;
|
||||
virtual utils::result<size_t, utils::error> execute(parameter_binder& bindings) = 0;
|
||||
virtual utils::result<std::unique_ptr<query_result_impl>, utils::error> fetch(parameter_binder& bindings) = 0;
|
||||
|
||||
template<class Type>
|
||||
void bind(const Type &obj, interface::parameter_binder& bindings) {
|
||||
void bind(const Type &obj, parameter_binder& bindings) {
|
||||
statement_->bind_object(obj, bindings);
|
||||
}
|
||||
template<typename Type>
|
||||
void bind(size_t pos, Type &value, interface::parameter_binder& bindings) {
|
||||
void bind(size_t pos, Type &value, parameter_binder& bindings) {
|
||||
statement_->bind(pos, value, bindings);
|
||||
}
|
||||
void bind(size_t pos, const char *value, size_t size, interface::parameter_binder& bindings) const;
|
||||
void bind(size_t pos, std::string &val, size_t size, interface::parameter_binder& bindings) const;
|
||||
void bind(size_t pos, const char *value, size_t size, parameter_binder& bindings) const;
|
||||
void bind(size_t pos, std::string &val, size_t size, parameter_binder& bindings) const;
|
||||
|
||||
void reset() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user