Closed sn01615 closed 5 years ago
可以加个支持select后update or insert吗?
缓存这个可以在db配置中加个缓存时长配置 我晚点支持下
select后insert update 可以在业务代码中用事务逻辑自己实现 没必要封装在DAO中哈
另外好像都是mysqli的能封装下支持pdo或mysqli吗?
可以的 框架早期用的mysql 后来升级成mysqli pdo可以支持下的
可以支持orderDesc、orderAsc方法吗?
还有order by field()
方法
你能别发了么这就是一个随便传传的东西傻子都知道一堆错------------------ 原始邮件 ------------------ 发件人: "杨龙"notifications@github.com 发送时间: 2019年5月19日(星期天) 晚上9:06 收件人: "Tencent/Biny"Biny@noreply.github.com; 抄送: "Subscribed"subscribed@noreply.github.com; 主题: Re: [Tencent/Biny] createOrUpdate 只能依赖主键冲突? (#86)
可以支持orderDesc、orderAsc方法吗?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
已支持order by field() 用法
是的 主键冲突再更新的场景实际运用中比较频繁 insert第一个参数内容 当冲突时执行update第二个参数操作(第二个参数缺省等于第一个参数)