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
#284
问题描述
set := datatypes.JSONSet("object") set.Set("test_bool", meta.TestBool) db.....Update("object", set)
执行后结果
{ "test_bool": 1}
修改 bool 类型直接构造为 SQL,而不是通过 statement AddVar 替换为占位符
The text was updated successfully, but these errors were encountered:
只进行了 mysql 的测试
Sorry, something went wrong.
jinzhu
No branches or pull requests
GORM Playground Link
#284
问题描述
执行后结果
修改
bool 类型直接构造为 SQL,而不是通过 statement AddVar 替换为占位符
The text was updated successfully, but these errors were encountered: