method
LocalAPI.List
func (local *LocalAPI) List(
ctx context.Context,
collection string,
options ListOptions,
) (store.Page, error)List authorized documents with filtering, pagination, projection, sorting, and population.
Example
page, err := app.Local().List(ctx, "posts", ridu.ListOptions{
Where: query.Equal(statusPath, query.String("published")),
Page: 1,
Limit: 20,
Actor: actor,
})Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
ListOptionsFiltering, pagination, projection, population, authorization, and locale controls for a list read.
PageA paginated result and total count.