moved parameter_binder from member to parameter to bind, execute and fetch methods
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
#include "matador/utils/foreign_attributes.hpp"
|
||||
#include "matador/utils/primary_key_attribute.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace matador::sql {
|
||||
|
||||
namespace detail {
|
||||
@@ -61,8 +59,7 @@ private:
|
||||
|
||||
}
|
||||
|
||||
class object_parameter_binder
|
||||
{
|
||||
class object_parameter_binder {
|
||||
public:
|
||||
template<class Type>
|
||||
void bind(Type &obj, utils::attribute_writer &binder) {
|
||||
|
||||
Reference in New Issue
Block a user