这里为啥跳过了
shepherdwind opened this issue · 1 comments
shepherdwind commented
Lines 163 to 166 in 004713c
比如
update({ is_read: 1, gmt_modified: 'now()' }, {
where: { is_read: 0, user_id: 'xxx' },
});
这种情况 转换的 sql 会是
update xxx set gmt_modified = now() where is_read = 0 and user_id = 'xxx'
预期应该是
update xxx set gmt_modified = now(), is_read = 1 where is_read = 0 and user_id = 'xxx'
shepherdwind commented