如何在查询BookshelfJS中包含已删除的项目?

问题描述

如何将已删除的项目包括查询BookshelfJS中?我试过这个查询

User.forge().where('deleted_at',"IS NOT",null).fetchAll();

在调试输出

select * from users where `deleted_at` is null and `deleted_at` is not null

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)