Type alias AllowNotOrAndRecursive<T>

AllowNotOrAndRecursive<T>: T | { [or]: AllowArray<AllowNotOrAndRecursive<T>> } | { [and]: AllowArray<AllowNotOrAndRecursive<T>> } | { [not]: AllowNotOrAndRecursive<T> }

This type allows using Op.or, Op.and, and Op.not recursively around another type. Unlike AllowNotOrAndWithImplicitAndArrayRecursive, it does not allow the 'implicit AND Array'.

Example of plain-array NOT treated as Op.and: User.findAll({ where: { id: [1, 2] } });

Meant to be used by WhereAttributeHashValue.

Type Parameters

  • T

Generated using TypeDoc