Closed axelrindle closed 6 years ago
I'm not sure about qOrm
, never used it. We are working on native promise support in ORM, and will hopefully have that released in the next few weeks to make it easier to integrate into modern node apps.
For native promise support all the way down, I recommend using bookshelf instead.
I'm trying to connect to a database and define a user model for my app, like this:
The connection is working fine, but when it comes to defining the model, I receive a weird error:
What is going on and what am I doing wrong?
Versions: