balderdashy / balderdashy/sails
Could not acess model inside the controller
Open
orm
try this out please
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
**Node version**: 11.15.0
**Sails version** _(sails)_: 1.2.2
I created User.js inside the models folder of my sails app. Could anyone guide about querying using waterline , inside the controller by accessing my models?
Thanks in advance!
Contributor guide
Research direction
Start by reviewing the User.js file in the app's models folder and the controller where the model is being accessed, then consult the Waterline querying entry point. Done means the controller can access the User model and perform the intended query, but the issue does not identify a failing query, controller path, or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100