caminte
caminte copied to clipboard
Redis - searching with two properties where one is an object is not working as expected
I have query:
where: {
status: {nlike: 'finished'},
slug: params.slug
}
and I'm getting correct results only when both conditions are fulfilled, otherwise I'm getting all records that match ONLY second condition (slug)
+1,
the same here :
where: { date: { lt: timestamp }, connected: 1 }