DocRefMongo class

Inheritance
Implemented types

Constructors

DocRefMongo(String id, CollRefMongo parentColl, Db _db)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
final
parentColl CollRefMongo
final
path PathEntity
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

collection(String name) CollRefMongo
override
delete() Future<WriteResult>
this will delete the document
inherited
getData() Future<Map<String, dynamic>?>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(Map<String, dynamic> doc, {bool upset = true}) Future<WriteResult>
this will remove the old document and add another one with the same id
inherited
toString() String
A string representation of this object.
inherited
update(Map<String, dynamic> doc, {bool upsert = true}) Future<WriteResult>
this will update certain values presented in the doc object
inherited

Operators

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