Feature Description
Add support for more MongoDB operators like $in, $nin, $exists, $size, etc.
Use Case
$in: When you need to check if a field's value matches any value in a given array.
$nin: When you need to exclude documents where a field's value matches any value in a given array.
$exists: When you need to find documents where a field either exists or does not exist.
$size: When you need to find documents where an array field has a specific number of elements.
Proposed Solution
Extend the Operator enum.
Pseudo Code
AddFilter("tags", []string{"golang", "mongodb"}, mongoq.In)
Feature Description
Add support for more MongoDB operators like $in, $nin, $exists, $size, etc.
Use Case
$in: When you need to check if a field's value matches any value in a given array.$nin: When you need to exclude documents where a field's value matches any value in a given array.$exists: When you need to find documents where a field either exists or does not exist.$size: When you need to find documents where an array field has a specific number of elements.Proposed Solution
Extend the Operator enum.
Pseudo Code