Skip to content

sql 的where in子句应该用小括号吧 #2

@Guyuexuanjian

Description

@Guyuexuanjian

from:
{
"Product:p":{
"@column":"id,code,name,price",
"brand_id!{}": [1,4,5]
}
}
to:
SELECT p.id, p.code, p.name, p.price
FROM Product p
WHERE (p.brand_id NOT IN [1, 4, 5])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions