expand query api for embedsMany