@aicacia/db
    Preparing search index...

    Class Singleton<T>

    Singleton - represents a singleton value (at most one document)

    Type Parameters

    • T

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: string

    Methods

    • Merge changes into singleton value

      Parameters

      • changes: Partial<T>

      Returns Promise<void>

      Error if update fails