Skip to content

Commit

Permalink
Add a note about pagination format for find() in core services
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Nov 30, 2023
1 parent d133575 commit 4e40ebc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docusaurus/docs/dev-docs/backend-customization/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,10 @@ async delete(params) {

</details>

:::note
The `find()` method from core services can use both types of pagination, by page of by offset (see [REST API](/dev-docs/api/rest/sort-pagination#pagination)).
:::

## Usage

Once a service is created, it's accessible from [controllers](/dev-docs/backend-customization/controllers.md) or from other services:
Expand Down

1 comment on commit 4e40ebc

@vercel
Copy link

@vercel vercel bot commented on 4e40ebc Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

docs-vercel-v4.strapi.io
documentation-strapijs.vercel.app
documentation-git-main-strapijs.vercel.app

Please sign in to comment.