Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection.query is not a function #85

Open
RWOverdijk opened this issue Oct 2, 2016 · 3 comments
Open

connection.query is not a function #85

RWOverdijk opened this issue Oct 2, 2016 · 3 comments

Comments

@RWOverdijk
Copy link

RWOverdijk commented Oct 2, 2016

When using a new app (trails) with express (5) and waterline (pack), trying to create a new record gives me connection.query is not a function.

The tables (migrations) get created perfectly. So the connection does work. Why don't queries work?

Update: This is using sails-mysql
Update 2: After logging connection, I noticed it's a switchback. Perhaps a version compatibility problem?

@TareqElMasriDev
Copy link

+1

@cardimajs
Copy link

cardimajs commented Jun 3, 2017

+1

i have same problem
any solution to this?

@RWOverdijk
Copy link
Author

Yes, use Wetland ORM https://github.com/SpoonX/trailpack-wetland :D

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

No branches or pull requests

3 participants