loopbackio / loopbackio/loopback-connector-sqlite3
Filtering with non existing / declared field is ignored
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 13
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Bug or feature request
- [x] Bug
- [ ] Feature request
### Description of feature (or steps to reproduce if bug)
1. Insert 10 rows in a model/table
1. Model.find({where: { nonexistingfield: 'test' } })
1. 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`
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, sqlite
- 領域
- database
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100