QueryWeb class

An implementation of QueryPlatform which proxies calls to js objects

Inheritance
  • Object
  • PlatformInterface
  • QueryWeb
Implementers

Constructors

QueryWeb(DatabasePlatform _database, Query<QueryJsImpl> _queryDelegate)

Properties

database → DatabasePlatform
The Database instance associated with this query
finalinherited
hashCode int
The hash code for this object.
no setterinherited
path String
Returns the path to this reference.
no setter
ref → DatabaseReferencePlatform
Obtains a DatabaseReference corresponding to this query's location.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(QueryModifiers modifiers) Future<DataSnapshotPlatform>
Gets the most up-to-date result for this query.
keepSynced(QueryModifiers modifiers, bool value) Future<void>
By calling keepSynced(true) on a location, the data for that location will automatically be downloaded and kept in sync, even when no listeners are attached for that location. Additionally, while a location is kept synced, it will not be evicted from the persistent disk cache.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(QueryModifiers modifiers, DatabaseEventType eventType) Stream<DatabaseEventPlatform>
Assigns the proper event type to a stream for DatabaseEventPlatform
onChildAdded(QueryModifiers modifiers) Stream<DatabaseEventPlatform>
Fires when children are added.
inherited
onChildChanged(QueryModifiers modifiers) Stream<DatabaseEventPlatform>
Fires when children are changed.
inherited
onChildMoved(QueryModifiers modifiers) Stream<DatabaseEventPlatform>
Fires when children are moved.
inherited
onChildRemoved(QueryModifiers modifiers) Stream<DatabaseEventPlatform>
Fires when children are removed. previousChildKey is null.
inherited
onValue(QueryModifiers modifiers) Stream<DatabaseEventPlatform>
Fires when the data at this location is updated. previousChildKey is null.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited