How to consult the content of the collection-types (V4) from a plugin?

How to consult the content of the collection-types from a plugin?
Previously in v3 it was done by importing request() from strapi-helper-plugin, but now in v4 it does not perform the import.

I found this in the documentation, that answers myself. Thank you:

strapi.db.query('api::blog.article').findMany({ // uid syntax: 'api::api-name.content-type-name'
  where: {
    title: {
      $startWith: '2021',
      $endsWith: 'v4',
    },
  },
  populate: {
    category: true,
  },
});