A service using TypeInfo to perform ORM operations with one or many DBServiceItemDriver instances.

Implements

  • TypeInfoORMAPI

Methods

  • Delete an existing item of the given type.

    Parameters

    • typeName: string
    • primaryFieldValue: any

    Returns Promise<boolean>

  • Delete a relationship between two items.

    Parameters

    Returns Promise<DeleteRelationshipResults>

  • Update an existing item of the given type.

    This update will always act as a patch. Use null to signify the deletion of a field. Assign values to all fields to perform a replacement.

    The item must always contain its primary field value.

    Parameters

    Returns Promise<boolean>