We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgreSQL 参数的占位符,一般都是 $1...$6... ,而 go-sqlbuilder 生成的 sql 语句是 ?...?... ,这个是有特别的用法,没有在文档里说明吗?
The text was updated successfully, but these errors were encountered:
这个是 mysql 的用法。
我看了下 pg 的 driver,确实只支持 $1...$n 这样的 placeholder,看起来或许应该支持一下定制下这样的需求,我来考虑一下。
$1...$n
Sorry, something went wrong.
4414789
已经通过 Flavor 机制支持 PostgreSQL,可以用以下方法使用:
Flavor
PostgreSQL
DefaultFlavor
PostgreSQL.NewSelectBuilder()
SelectBuilder
SetFlavor(flavor)
Builder
BuildWithFlavor(flavor)
fix #6. fix incorrect marker when nesting builders with PostgreSQL fl…
6c82d03
…avor.
No branches or pull requests
PostgreSQL 参数的占位符,一般都是 $1...$6... ,而 go-sqlbuilder 生成的 sql 语句是 ?...?... ,这个是有特别的用法,没有在文档里说明吗?
The text was updated successfully, but these errors were encountered: