Open RWOverdijk opened 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?
+1
i have same problem any solution to this?
Yes, use Wetland ORM https://github.com/SpoonX/trailpack-wetland :D
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?