CollectionReference class

Constructors

CollectionReference(String collection)

Properties

collection String
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

add(Map<String, dynamic> data) Future<ParseDocument>
add a document to the collection with provided data
doc(String id) DocReference
creates a document reference with the provided id
fetch(String id) Future<ParseDocument>
fetch the document with id in this collection
getDocs() Future<List<ParseDocument>>
returns up to 10.000 Documents
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
query() ParseQuery
creates a query object in this collection
toString() String
A string representation of this object.
inherited
update(String id, Map<String, dynamic> data) Future<ParseDocResponse>
update document with id using the provided data

Operators

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