-
-
Notifications
You must be signed in to change notification settings - Fork 611
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Is your feature request related to a problem? Please describe.
I has an table, what cannot be migrated to normal architecure.
Schema:
Currently i can't check does that array contains item from other array, like in sequelize i can:
where: {
follows: { [Op.contains]: [128644134] },
service: 'telegram'
}Describe the solution you'd like
Add new operator $contains, with @> implementation
Describe alternatives you've considered
Cannot imagine.
Additional context
My english is not quiet good, again what i wants:
i has array in my column, like [123, 321], and i wan't check does [123, 321] contains any item from where query $contains: [321]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request