Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

example for 'parameters' has extra param #358

Open
i-am-al-x opened this issue Jun 7, 2018 · 0 comments
Open

example for 'parameters' has extra param #358

i-am-al-x opened this issue Jun 7, 2018 · 0 comments

Comments

@i-am-al-x
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant