You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redis OM can support this but searching it can be a bit limited as you can only reference the fields within the objects for indexing and they will always be arrays as far as RediSearch is concerned. This means that you can only index string[] and number[] within your object.
You can then save this JSON and search on these fields with your Repository:
constrepository=newRespository(schema,redis)awaitrespository.save(account)// account contains a JavaScript object as shown aboveconstaccounts=awaitrepository.search().where('accountNumber').equals('12345').and('verified').is.true().and('approvers').contains('Bob').and('amount').is.greaterThan(10.00)
I have an array of Objects that I want to store in Redis. How do i go about it?
The text was updated successfully, but these errors were encountered: