hey @aman_shukla1 We have a couple articles that might help here -
these two articles are building a chat app with partition based sync -
And this one uses our new flexible sync -
Flexible sync does not have the capability yet to do an IN query like you are suggesting above yet. But we are working on it now and hope to release it soon.
-Ian