DataResult
Index
Constructors
Methods
Constructors
constructor
Returns DataResult
Methods
create
Create a new Data Type instance with the specified Tag, Data Type and properties.
Parameters
tag: Tag
The unique identifier of the object instance to create.
model: Tag
The Data Type of the instance to create.
optionalproperties: Map<Tag, 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: Tag
The type of relation to create.
from: Tag
The unique identifier of the source instance.
to: Tag
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.