Added tvin arguments for parameters

This commit is contained in:
rbock
2014-08-12 22:00:59 +02:00
parent b52591df58
commit 1d98fb0198
5 changed files with 50 additions and 3 deletions

View File

@@ -91,6 +91,7 @@ int main()
auto s = select(all_of(t)).from(t).where((t.beta.like(parameter(t.beta)) and t.alpha == parameter(t.alpha)) or t.gamma != parameter(t.gamma));
auto p = db.prepare(s);
p.params.alpha = 7;
p.params.alpha = sqlpp::tvin(0);
using S = decltype(s);
using T = sqlpp::make_parameter_list_t<S>;
T npl;