feat: implement $not and $or condition

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2023-10-29 17:41:38 +08:00
1 parent e52682686a
commit b7ecfe3980
4 files changed
+42 -166

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ const conditionSchema = new Schema({
})
conditionSchema.add({
OR: [conditionSchema],
NOT: conditionSchema,
$or: [conditionSchema],
$not: conditionSchema,
})
const stageSchema = new Schema({