#include <sqt/orm/expression/binder/binder.h>
Provides information for binding values to a placeholder of an executor.
| TRAITS | The value traits type of the binder. |
The sqt::Binder<> class template is used by the sqt::BinderChain<> class template to bind values to placeholders in an executor. It provides the necessary binding information, such as the value traits type and the index of the placeholder.
This class template satisfies the sqt::BinderType concept.
Public Types | |
| using | ValueTraits = TRAITS |
| using | ValueType = typename TRAITS::ValueType |
Public Member Functions | |
| constexpr | Binder (int index) noexcept |
| constexpr int | Index () const noexcept |