如何使用builder 支持mysql的函数 #55
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
会报错:Unsupported type error
我想用 builder 去封装 mysql的json_set(或者其他函数)函数去完成我的业务,我如何实现?
能贴下生成的SQL吗?
sql, args 变量打印出来是这个样子
UPDATE feed_content SET content=? WHERE id=? [JSON_SET(content,'$.topic',2) 1]
我现在是使用 拼SQL,直接执行SQL去完成我的业务逻辑
#56 will fix this one. After that merged, you can use
Expr
to do that.