Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count return 0 #447

Open
4 tasks done
glussian-luna opened this issue Nov 12, 2023 · 1 comment
Open
4 tasks done

Count return 0 #447

glussian-luna opened this issue Nov 12, 2023 · 1 comment

Comments

@glussian-luna
Copy link

New Issue Checklist

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
Copy link

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 in n/a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant