statement binding progress
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
#include "matador/sql/object_parameter_binder.hpp"
|
||||
#include "matador/sql/interface/parameter_binder.hpp"
|
||||
|
||||
namespace matador::sql {
|
||||
object_parameter_binder::object_parameter_binder(bool include_primary_key)
|
||||
: include_primary_key_(include_primary_key) {
|
||||
}
|
||||
|
||||
void object_parameter_binder::reset(const size_t start_index)
|
||||
{
|
||||
void object_parameter_binder::reset(const size_t start_index) {
|
||||
index_ = start_index;
|
||||
}
|
||||
|
||||
@@ -15,8 +9,7 @@ size_t object_parameter_binder::current_index() const {
|
||||
return index_;
|
||||
}
|
||||
|
||||
void object_parameter_binder::on_revision(const char * /*id*/, uint64_t &rev)
|
||||
{
|
||||
void object_parameter_binder::on_revision(const char * /*id*/, uint64_t &rev) {
|
||||
utils::data_type_traits<uint64_t>::bind_value(*binder_, index_++, rev);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user