We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb6054 commit 2ef7765Copy full SHA for 2ef7765
docusaurus/docs/dev-docs/plugins/guides/store-and-access-data.md
@@ -170,8 +170,8 @@ Use the `plugin::your-plugin-slug.the-plugin-content-type-name` syntax for conte
170
Here is how to find all the entries for the `my-plugin-content-type` collection type created for a plugin called `my-plugin`:
171
172
```js
173
-// Using the Entity Service API
174
-let data = await strapi.entityService.findMany('plugin::my-plugin.my-plugin-content-type');
+// Using the Document Service API
+let data = await strapi.documents('plugin::my-plugin.my-plugin-content-type').findMany();
175
176
// Using the Query Engine API
177
let data = await strapi.db.query('plugin::my-plugin.my-plugin-content-type').findMany();
0 commit comments