Skip to content

database/gdb: 需要添加一个可以修改占位符的函数 #4633

@joy999

Description

@joy999

Is your feature request related to a problem?

Option Yes

Describe the solution you'd like

现在的占位符是固定为 ? ,但是在PG中,?是有特殊用途的,这样会导致有些功能无法使用。需要在SQL中能直接拼入?

Describe alternatives you've considered

建议提供可以修改点位符的方法。或者提供特殊的函数包装,可以让占位符替换的目标文字原样输出。比如,可以传入 gdb.Raw('?'),这样就最终SQL是显示的?,而不是"?"

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions