You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why my response total is 8 but docs is a array of nothing ?
var order = await Model.paginate({}, { page: 1, limit: 10 })
then my order is
{
"docs": [],
"total": 8,
"limit": "",
"page": "",
"pages": null
}
The text was updated successfully, but these errors were encountered:
why my response total is 8 but docs is a array of nothing ?
var order = await Model.paginate({}, { page: 1, limit: 10 })
then my order is
{
"docs": [],
"total": 8,
"limit": "",
"page": "",
"pages": null
}
The text was updated successfully, but these errors were encountered: