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?
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?