balderdashy / waterline-docs

WARNING: The content in this repo is out of date! See https://github.com/balderdashy/sails-docs for the most up-to-date documentation
452 stars 161 forks source link

ER_SP_UNDECLARED_VAR occurs when using .query() for MariaDB #108

Open chenweiyj opened 8 years ago

chenweiyj commented 8 years ago

I use the placeholder way to generate the sql for .query() method. However, it runs an error as follows.

Error: ER_SP_UNDECLARED_VAR: Undeclared variable: $1

How could I solve it?

dv336699 commented 8 years ago

Wrong repo, this is waterline-docs repo, you should post issues on waterline repo and questions on stackoverflow