diff --git a/docs/src/user_guide/factories.md b/docs/src/user_guide/factories.md index 14d3c012..95722f43 100644 --- a/docs/src/user_guide/factories.md +++ b/docs/src/user_guide/factories.md @@ -36,7 +36,7 @@ class Factory: request: Request, collection=Depends(self.collection_dependency), ): - item_list = collection.items(...) + item_list = collection.features(...) ... @self.router.get("/collections/{collectionId}/items/{itemId}") @@ -45,7 +45,7 @@ class Factory: collection=Depends(self.collection_dependency), itemId: str = Path(..., description="Item identifier"), ): - item_list = collection.items(item_id=[itemId]) + item_list = collection.features(ids_filter=[itemId]) ...