The following code is presented in an example:
log( squel.select() .from("students") .where("a = ? AND b = ?", "test", true) .order("CALC(?, ?)", true, 1.2, false) .limit(10) .offset(3) .toParam() );
The line for ".order()" should have just two parameters. The 'true' parameter is not supposed to be there.
In the "parameters" section of the documentation at https://hiddentao.com/squel/#select
The following code is presented in an example:
log( squel.select() .from("students") .where("a = ? AND b = ?", "test", true) .order("CALC(?, ?)", true, 1.2, false) .limit(10) .offset(3) .toParam() );
The line for ".order()" should have just two parameters. The 'true' parameter is not supposed to be there.