我无法作为strapi后端找到JSON文件中的所有数据?
** https://admin.medicte.ca/doctors ** https://admin.medicte.ca/doctors?doctorname_contorn _contorname_contains_contains = tuuys
=您可以在这里看到,有两个不同的URL是Strapi JSON文件。这里的问题是当我单击第一个链接时,只有100位医生。在CMS中。管理面板我可以看到143位医生。如果我像第二个URL中的名称搜索。有那个医生,它没有出现在第一个链接上。有解决方案吗?
**https://admin.medicte.ca/Doctors
**https://admin.medicte.ca/Doctors?doctorName_contains=tuysuz
As you can see here, there are two different urls which are strapi json files. The problem here is when I click first link there is only 100 doctor. In CMS. admin panel I can see 143 doctor. If I search by name like in the second url. There is that doctor, which it doesn't appear on the first link. Any solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这称为分页。
如果您的集合的大小超过了页面大小,只需要求下一页: https://docs.strapi.io/developer-docs/latest/developer-resources/database-pabase-apis-reference-reference-reference-reference-reference-reference-reference-referenc--referenc--refere/rest/rest/sort-paginati一下一下>您还可以使用
config/api.js
中的限制This is called pagination.
If the size of your collection exceeds the page size, simply ask for the next page: https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest/sort-pagination.html or you can also change the limit in
config/api.js
with