Skip to content

connection.query is not a function #85

Description

@RWOverdijk

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions