@arcmantle/sqlite-wrapper
    Preparing search index...

    Class DataModel

    Base class for data models that provides automatic property assignment from value objects. Includes optional static methods for parsing and initialization.

    Index

    Constructors

    Methods

    Constructors

    • Creates a new data model instance and assigns all properties from the values object.

      Parameters

      • values: any

      Returns DataModel

    Methods

    • Optional static method for initializing values before creating an instance. Should be implemented by subclasses if needed.

      Parameters

      • values: unknown

      Returns unknown

    • Optional static method for parsing unknown values into a known format. Should be implemented by subclasses if needed.

      Parameters

      • values: unknown

      Returns unknown