mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08:00
13 lines
167 B
TypeScript
13 lines
167 B
TypeScript
import { Op } from 'sequelize';
|
|
|
|
export default {
|
|
$ne(val, ctx) {
|
|
return {
|
|
[Op.or]: {
|
|
[Op.ne]: val,
|
|
[Op.is]: null,
|
|
},
|
|
};
|
|
},
|
|
};
|