|
| template<class T > |
| std::unique_ptr< bool[]> | split_optional (std::vector< std::optional< T > > const &values, std::vector< T > &column) |
| | Splits optionals into the values themselves and flags saying which are null.
|
| |
|
template<class Row , class Member , class Class > |
| Member const & | read_field (Row const &row, Member Class::*field) |
| | Reads a member through a pointer to it.
|
| |
|
template<class Row , class Accessor > |
| auto | read_field (Row const &row, Accessor const &accessor) -> decltype(accessor(row)) |
| | Reads a value by calling something with the row.
|
| |
|
template<class Rows , class Accessor > |
| void | bind_column (statement &stmt, short param_index, Rows const &rows, Accessor const &accessor, bind_as_value) |
| |
|
template<class Rows , class Accessor > |
| void | bind_column (statement &stmt, short param_index, Rows const &rows, Accessor const &accessor, bind_as_string) |
| |
|
template<class Rows , class Accessor , class Column > |
| std::unique_ptr< bool[]> | gather_optional (Rows const &rows, Accessor const &accessor, Column &column) |
| |
|
template<class Rows , class Accessor > |
| void | bind_column (statement &stmt, short param_index, Rows const &rows, Accessor const &accessor, bind_as_optional_value) |
| |
|
template<class Rows , class Accessor > |
| void | bind_column (statement &stmt, short param_index, Rows const &rows, Accessor const &accessor, bind_as_optional_string) |
| |
|
template<class Rows , class Accessor > |
| void | bind_one (statement &stmt, short param_index, Rows const &rows, Accessor const &accessor) |
| |
Implementation details, not part of the interface.