We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e1920 commit 6bfe43fCopy full SHA for 6bfe43f
packages/firebase_snippets_app/lib/snippets/database.dart
@@ -274,8 +274,7 @@ class RealtimeDatabaseSnippets implements DocSnippet {
274
final myUserId = FirebaseAuth.instance.currentUser?.uid;
275
final topUserPostsRef = FirebaseDatabase.instance
276
.ref("user-posts/$myUserId")
277
- .orderByChild("starCount")
278
- .ref;
+ .orderByChild("starCount");
279
// [END lists_of_data_sorting]
280
}
281
0 commit comments