Filtering with non existing / declared field is ignored
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, sqlite
- Domain
- database
Research direction
Start by reproducing the issue with the SQLite3 connector using Model.find({where: { nonexistingfield: 'test' } }) after inserting 10 rows. Compare the result with the stated Memory connector behavior and determine whether an unknown field should return zero rows or an error. Done means the SQLite3 connector no longer returns all rows for this filter, with coverage for the reported query.
Written by the indexing model from the issue text.
Description
Bug or feature request
- Bug
- Feature request
Description of feature (or steps to reproduce if bug)
- Insert 10 rows in a model/table
- Model.find({where: { nonexistingfield: 'test' } })
- Return 10
Expected result
Return 0 (Memory connector return 0)
Maybe this should return an error ?
Actual result (if bug)
Return all the documents/rows
Additional information (Node.js version, LoopBack version, etc)
Tested with master of loopback-connector-sqlite3
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from loopbackio/loopback-connector-sqlite3
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
feature
loopbackio/loopback-connector-sqlite3#51 · 1 assignee ·
-
Transaction types Openfeature
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
backlog bug
loopbackio/loopback-connector-sqlite3#46 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
loopbackio/loopback-connector-sqlite3#43 · 1 comment ·
All issues in loopbackio/loopback-connector-sqlite3
Similar issues
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100