DataResult
Index
Constructors
Methods
Constructors
constructor
Returns DataResult
Methods
create
Create a new Data Type instance with the specified InstanceOrTag, Data Type and properties.
Parameters
tag: InstanceOrTag
The unique identifier of the object instance to create.
model: InstanceOrTag
The Data Type of the instance to create.
optionalproperties: Map<InstanceOrTag, any>
The properties to set on the instance.
Returns DataResult
This DataResult instance.
createRelation
Create a relation between two instances with the specified Relation,
from
, andto
instance tags.Parameters
relation: InstanceOrTag
The type of relation to create.
from: InstanceOrTag
The unique identifier of the source instance.
to: InstanceOrTag
The unique identifier of the destination instance.
Returns DataResult
This DataResult instance.
staticfromQuery
Create a new DataResult instance from the specified Query.
Parameters
query: Query<CloudObject, any>
The Query to create a DataResult from.
Returns DataResult
A new DataResult instance.
A class representing the necessary operations to create the result of a query in the client database that emitted the query.