trailsjs / trailpack-waterline

:package: Waterline.js Trailpack
MIT License
8 stars 9 forks source link

connection.query is not a function #85

Open RWOverdijk opened 8 years ago

RWOverdijk commented 8 years ago

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 commented 7 years ago

+1

cardimajs commented 7 years ago

+1

i have same problem any solution to this?

RWOverdijk commented 7 years ago

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