Parse-Swift
Parse-Swift copied to clipboard
Count return 0
trafficstars
New Issue Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am not just asking a question.
- [x] I have searched through existing issues.
- [x] I can reproduce the issue with the latest versions of Parse Server and the Parse Swift SDK.
Issue Description
The count operation is always returning 0
Steps to reproduce
let count = try await Product.query().count() // return 0 when let count = try await Product.query().findAll().count // return 233
Issue is not related to parse server. Using the Objective C SDK, I don't encounter any issue
Client
- Parse Swift SDK version:
4.14.2 - Xcode version:
15.0.1 - Operating system (iOS, macOS, watchOS, etc.):
iOS - Operating system version:
17.1
Server
- Parse Server version:
Parse Server 4.5.0 - Operating system:
FILL_THIS_OUT - Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Back4Parse
Database
- System (MongoDB or Postgres):
MongoDB - Database version:
FILL_THIS_OUT - Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
FILL_THIS_OUT
Thanks for opening this issue!
- ❌ Please fill out all fields with a placeholder
FILL_THIS_OUT, otherwise your issue will be closed. If a field does not apply to the issue, fill inn/a.