Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/content/docs/4.utils/1.query-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ interface CollectionQueryBuilder<T> {

Create a query builder to search in the specific collection.

- Parameters:
- - `collection`: The key of defined collection in `content.config.ts`
- Parameter:
- `collection`: The key of defined collection in `content.config.ts`

### `path(path: string)`

Search for contents that have specific `path`. (`path` is an special field in `page` collections which generates based on fs path and can be use as route to render the content)

- Parameter:
- - `path`: The path string to match.
- `path`: The path string to match.

```ts
const route = useRoute()
Expand Down