wtx-cynthia
wtx-cynthia
我也遇到了同样的问题
where := map[string]interface{}{ "user_id": User_id, "server_filename": Server_Filename, "isdelete": 0, } where["_limit"] = []uint{3} // where["_orderby"] = "fs_id desc" fields := []string{"*"} err := dao.BaseSelectConvert(ctx, where, fields, &tabRes) _orderby是可用的,_limit传入后就会报错。mysql是5.6的
mysql版本 | innodb_version | 5.6.23 | | protocol_version | 10 | | slave_type_conversions | | | version | 5.6.23-baidu-trunk-2.2.4.3-log | | version_comment | Source distribution | | version_compile_machine | x86_64...
辛苦有空帮忙看下
还请有空看下我最新的回答,谢谢~ | | ***@***.*** | | ***@***.*** | ---- 回复的原邮件 ---- | 发件人 | ***@***.***> | | 日期 | 2022年11月25日 00:55 | | 收件人 | ***@***.***> | | 抄送至 |...
还得辛苦帮忙看下 sql中unhex该怎么传
SELECT * FROM file_meta WHERE (isdelete=? AND server_filename=? AND user_id=?)] sql_args[[0,"unhex(e69da5e887aaefbc9a7669766f2058706c617936)",3941040758 这样报错