We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.4.1
any
When I use $cond
$cond: { if: { $in //throw type error here }, then: POST_TYPE_DEFAULT.EVENT_TYPE.BIRTHDAY, else: POST_TYPE_DEFAULT.EVENT_TYPE.ANNIVERSARY }
I have read expression.d.ts, it's missing type ArrayExpressionOperatorReturningBoolean in type BooleanExpression
ArrayExpressionOperatorReturningBoolean
BooleanExpression
use Aggregate
model.aggregate([ { $addFields : { $cond : { if : {$in : []} //throw type error here } } } ])
Can use $in in $cond.if
The text was updated successfully, but these errors were encountered:
afad86a
No branches or pull requests
Prerequisites
Mongoose version
6.4.1
Node.js version
any
MongoDB server version
any
Description
When I use $cond
I have read expression.d.ts, it's missing type
ArrayExpressionOperatorReturningBoolean
in typeBooleanExpression
Steps to Reproduce
use Aggregate
Expected Behavior
Can use $in in $cond.if
The text was updated successfully, but these errors were encountered: