Query.opBinary

In reality just an alias to addParam, but can be chained to add multiple params.

struct Query
ref
opBinary
(
string op
T
)
(
T val
)
if (
op == "<<"
)

Examples

auto q = Query("SELECT $1, $2, $3");
q << "something" << 123 << 'c';

Meta