mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-03 11:40:39 -06:00
Small fix for dynamic results and a hint for positional parameters
This commit is contained in:
@@ -263,7 +263,7 @@ namespace sqlpp
|
||||
dynamic_row.len += _last_static_index;
|
||||
for (const auto& column : _dynamic_columns)
|
||||
{
|
||||
_dynamic_fields.at(column).assign(dynamic_row.data[0], dynamic_row.len[0]);
|
||||
_dynamic_fields[column].assign(dynamic_row.data[0], dynamic_row.len[0]);
|
||||
++dynamic_row.data;
|
||||
++dynamic_row.len;
|
||||
}
|
||||
|
||||
@@ -150,6 +150,7 @@ namespace sqlpp
|
||||
_limit(std::move(limit)),
|
||||
_offset(std::move(offset))
|
||||
{
|
||||
// FIXME: Need to calculate parameter positions here and in other constructors
|
||||
}
|
||||
|
||||
constexpr select_t(const Flags& flags, const ExpressionList& expression_list, const From& from,
|
||||
|
||||
Reference in New Issue
Block a user