balderdashy / balderdashy/sails
There is no option to use raw SQL query condition.
Open
orm
proposal
what do you think?
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Like `Model.find({ where: 'raw sql' })`.
For example, it is possible in Sequelize:
`Model.findAll({ where: Sequelize.literal('raw sql') })`
or in ActiveRecord (Ruby on Rails):
`Model.where('raw sql')`
It will be very flexibly and useful!
Contributor guide
Research direction
The issue provides no file, test, or entry point. Begin by locating the Model.find/where query interface and comparing its supported conditions with the requested raw-SQL form; done means the intended behavior is defined and covered by tests for the Sequelize and ActiveRecord-style examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, sql
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100