Skip to content

Count return 0 #447

@glussian-luna

Description

@glussian-luna

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions