Skip to main content
Version: 2.4

DataResult

A class representing the necessary operations to create the result of a query in the client database that emitted the query.

Index

Constructors

constructor

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, and to 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