Parse-Swift icon indicating copy to clipboard operation
Parse-Swift copied to clipboard

Count return 0

Open glussian-luna opened this issue 2 years ago • 1 comments
trafficstars

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

glussian-luna avatar Nov 12 '23 23:11 glussian-luna

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.