Migration Guide
v8.0.0
Where clauses with an OR combinator are now automatically wrapped inside when callbacks
qb.from( "users" )
.where( "active", 1 )
.when( len( url.q ), function( q ) {
q.where( "username", "LIKE", q & "%" )
.orWhere( "email", "LIKE", q & "%" );
} );SELECT *
FROM "users"
WHERE "active" = ?
AND "username" = ?
OR "email" = ?v7.0.0
Lucee 4.5 and Adobe ColdFusion 11 EOL
MSSQLGrammar renamed to SqlServerGrammar
Variadic Parameters Support Removed
defaultGrammar updated to be the full WireBox mapping
value method argument order changed
Some methods renamed callback to query
v5.0.0
Last updated
Was this helpful?