-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Hi there,
is there a way to execute some more complex search queries?
Examples:
-
FIND album WHERE
year= 1990 ORyearIS NULL (or undefined)
[EDIT: this will not work at all (redis search limitation)] -
FIND album WHERE (
year= 1990 ORyear= 2000) ANDfoo= "bar -
FIND album WHERE
year= 1990 OR (year= 2000 ANDfoo= "bar)
In the given examples I don't see if this is possible, or I'm not sure how RedisOM handles multiple AND & OR associations.
Or is there at least a way to print the generated search-query?
[EDIT: one can log the search query:
const search = albumRepository.search().where('year').eq(1984);
console.log(search.query);
await search.return.all();
]
Thank you!
Metadata
Metadata
Assignees
Labels
No labels