session update progress
This commit is contained in:
@@ -26,10 +26,12 @@ public:
|
||||
virtual utils::result<std::unique_ptr<query_result_impl>, utils::error> fetch(const parameter_binder& bindings) = 0;
|
||||
|
||||
template < class Type >
|
||||
void bind_object(Type &obj, parameter_binder& bindings) {
|
||||
object_parameter_binder object_binder_;
|
||||
size_t bind_object(Type &obj, parameter_binder& bindings) {
|
||||
object_parameter_binder object_binder_(query_.command != sql_command::SQL_UPDATE);
|
||||
object_binder_.reset(start_index());
|
||||
object_binder_.bind(obj, bindings);
|
||||
|
||||
return object_binder_.current_index();
|
||||
}
|
||||
|
||||
template < class Type >
|
||||
|
||||
Reference in New Issue
Block a user