Skip to content

Commit

Permalink
docs: add edge alert
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Aug 1, 2023
1 parent d589e04 commit c582469
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/4.api/2.composables/1.query-content.md
Expand Up @@ -202,6 +202,10 @@ const [prev, next] = await queryContent()

Count the number of matched contents based on the query.

::alert
This feature is available in [edge-channel](https://content.nuxtjs.org/guide/migration/edge-channel) and will be released in next version.
::

```ts
// Count of articles
const count = await queryContent('articles').count()
Expand Down

0 comments on commit c582469

Please sign in to comment.