GridFS class
Properties
- bucketName ↔ String
-
getter/setter pair
- chunks ↔ DbCollection
-
getter/setter pair
- database ↔ Db
-
getter/setter pair
- files ↔ DbCollection
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearBucket(
) → Future< void> - Beware! This method removes all the documents in this bucket
-
createFile(
Stream< List< input, String filename, [Map<int> >String, dynamic> ? extraData]) → GridIn -
dropBucket(
) → Future< void> - Beware! This method drops this bucket
-
findOne(
dynamic selector) → Future< GridOut?> -
getFile(
String fileName) → Future< GridOut?> -
getFileList(
SelectorBuilder selectorBuilder) → Stream< Map< String, dynamic> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultChunkSize ↔ int
-
getter/setter pair
- maxChunkSize ↔ int
-
getter/setter pair