Document class

Constructors

Document({CloudBaseCore core, String coll, dynamic docId, Map<String, dynamic> projection})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

create(dynamic data) Future<DbCreateResponse>
创建文档
field(Map<String, bool> projection) Document
get() Future<DbQueryResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove() Future<DbRemoveResponse>
set(dynamic data) Future<DbUpdateResponse>
创建或添加数据
toString() String
A string representation of this object. [...]
inherited
update(dynamic data) Future<DbUpdateResponse>
更新数据

Operators

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