Doesn't scramble the where correctly
@frbuceta 已经在做这个了。
开始于 2022年2月25日。
评估
这个 Issue 还没有评估数据。
描述
Steps to reproduce
A call is made in Loopback 4 but it doesn't resolve the where correctly.
curl --location -g --request GET '127.0.0.1:3000/articles?filter[include][0]=attributes&filter[limit]=25&filter[where][attributes][or][0][name]=COLECCIÓN&filter[where][attributes][or][0][value][inq][0]=MARVEL&filter[where][attributes][or][0][value][inq][1]=SUPERHÉROES'
Current Behavior
loopback:connector:postgresql SQL: SELECT "id","name","value","article_id" FROM "public"."attributes" WHERE (("name"=$1 AND "value"=$2)) ORDER BY "id"
loopback:connector:postgresql Parameters: ["COLECCIÓN","[object Object]"] +6s
Expected Behavior
SQL: SELECT "id","name","value","article_id" FROM "public"."attributes" WHERE (("name"=$1 AND "value" in ($2, $3))) ORDER BY "id"
Parameters: ["COLECCIÓN","MARVEL","SUPERHÉROES"] +6s
Additional information
linux x64 16.14.0
├── [email protected]
- 主要语言
- JavaScript
- 星标
- 118
- 派生
- 183
- 平均合并
- 3 天 7 小时
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
loopbackio/loopback-connector-postgresql 的其他 Issue
-
Partial JSON Update可能已有人在做 @vaibhavbhalla2505 于 263 天前认领。 未关闭feature
难度 5/5 一周以上 新手友好度 20/100
-
bug
难度 4/5 3-5 天 新手友好度 30/100
loopbackio/loopback-connector-postgresql#748 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 38/100
-
bug
难度 4/5 3-5 天 新手友好度 25/100
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
loopbackio/loopback-connector-postgresql#732 · 1 条评论 ·
查看 loopbackio/loopback-connector-postgresql 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
capricorn86/happy-dom#2485 ·
维护者通常 2 天内回复
-
难度 2/5 1 小时以内 新手友好度 74/100
siyuan-note/siyuan#20429 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
yjh051108/dsh-routing-suite#216 ·
-
[Bug] Completion info popup (.cm-completionInfo) ignores the configured editor font可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug user-priority/P2
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复