Skip to content

在进行参数绑定查询时候,出现了异常 #337

@xciljgxcjoi

Description

@xciljgxcjoi

sql为SELECT tag FROM tags WHERE resource_id = ? AND resource_type = ? ORDER BY tags.ts DESC LIMIT ?,绑定了三个
NamedValue,其中设置了参数值,并且按照正确Ordinal顺序传入,但是api返回错误:Invalid column name: resource

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions