-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Firebase database query and persistence improvements #144
Conversation
76e0df8
to
646147a
Compare
646147a
to
87749aa
Compare
87749aa
to
e4a4386
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
/// | ||
/// This property must be set before calling methods on database references | ||
/// and only needs to be called once per application. The returned `Future` | ||
/// will complete with `true` if the operation was successful or `false` if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Future] instead of Future
?
@@ -128,32 +134,38 @@ class Query { | |||
|
|||
/// Generate a view of the data sorted by values of a particular child key. | |||
/// | |||
/// Intended to be used in combination with startAt(), endAt(), or equalTo(). | |||
/// Intended to be used in combination with [startAt()], [endAt()], or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need the ()
to refer to methods.
@goderbauer I'll probably land this before you land #141 so you'll have to update the firebase_database version in your PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'll update the other PR accordingly.
0ad4479
to
2c85344
Compare
## 0.0.8 * Added missing offline persistence and query functionality on Android * Fixed startAt query behavior on iOS * Persistence methods no longer throw errors on failure, return false instead * Updates to docs and tests
## 0.0.8 * Added missing offline persistence and query functionality on Android * Fixed startAt query behavior on iOS * Persistence methods no longer throw errors on failure, return false instead * Updates to docs and tests
Fixes flutter/flutter#10821, flutter/flutter#10822, flutter/flutter#10823