Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@morganchen12
Copy link
Contributor

@morganchen12 morganchen12 commented Oct 31, 2025

Build fails because there's no prerelease Firestore on local maven, but passes locally.

.collection("cities/NY/restaurants")
.where(Expression.field("type").equal("Italian")))
.where(Expression.field("rating").greaterThanOrEqual(4.5))
.sort(Expression.field("__name__").descending())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

People probably dont know what "name" is, you can use FieldPath.documentId() instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem to let me do FieldPath.documentId().descending(), maybe because FieldPath isn't an Expression?

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

Successfully merging this pull request may close these issues.

2 participants