nbar nbar - 9 months ago 32
Javascript Question

TaffyDB, filter the same field 2 times (greater then and less then)

I would like to query a range in a TaffyDB (Greater then x but less then y). What I try is:


But for sure that can not work this way. The second myvalue just overrites the first one in the Object.

A work around would be to create the db-record with a cloned myvalue (=> myvalue1, myvalue2) and then query it this way:


But it would be a bit dirty.

Anyone got a solution?


That works: