Function useEntityAttribute

  • Retrieves attribute schema for the given attribute name

    Parameters

    • name: string

      The attribute name to get the schema for

    Returns RelationDefinitionSchema

    The attribute schema

    Throws

    Entity not initialized error if no schema is found.

    Could not find attribute error if the attribute does not exist in the schema

Generated using TypeDoc