mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 18:46:55 +00:00
ad4929e48b
* Turkish language created for Docs. Belgeler için türkçe dil desteği oluşturuldu. * Turkish docs fix
604 B
604 B
类型
interface DestroyOptions extends SequelizeDestroyOptions {
filter?: Filter;
filterByTk?: TargetKey | TargetKey[];
truncate?: boolean;
context?: any;
}
详细信息
filter
:指定要删除的记录的过滤条件。Filter 详细用法可参考find()
方法。filterByTk
:按 TargetKey 指定要删除的记录的过滤条件。truncate
: 是否清空表数据,在没有传入filter
或filterByTk
参数时有效。transaction
: 事务对象。如果没有传入事务参数,该方法会自动创建一个内部事务。