Hi!

For retrieving object(s) related to one object, we can use the following syntax :

releated <Key> to <pointer>

example (from doc):

select * from _User where related likes to pointer('Post', '51e3a359e4b015ead4d95ddc')

Is there a way to retrieve objects related to a list of objects, something like:

select * from _User where related likes to pointers('Post', ['51e3a359e4b015ead4d95ddc', 'bc4a2c3a2e4b3b6c76cc97a4c', '3e7c309e5c019a344d913e5'])

Thanks in advance!

1 人赞了这个帖子.

I think you can

select * from _User where likes in (pointer('Post', '51e3a359e4b015ead4d95ddc'),pointer('Post','bc4a2c3a2e4b3b6c76cc97a4c'), pointer('Post','3e7c309e5c019a344d913e5'))