firebase/snippets-ios

Count not available

suigeneris opened this issue · 0 comments

let query = db.collection("cities").whereField("state", isEqualTo: "CA")
let countQuery = query.count
do {
let snapshot = try await countQuery.getAggregation(source: .server)
print(snapshot.count)
} catch {
print(error);
}

Doest seem like count variable exists anywhere in the SDK, im used Firebase v 9.6.0

Screenshot 2023-02-22 at 14 27 53