Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Soukai

deprecated

import global methods instead.

Hierarchy

  • Soukai

Index

Constructors

Accessors

  • get engine(): undefined | Engine

Methods

  • closeConnections(): Promise<void>
  • deprecated

    import global closeEngineConnections method instead.

    Returns Promise<void>

  • loadModel(name: string, model: typeof Model): void
  • deprecated

    This is no longer necessary, models are loaded automatically now (even though you may still want to boot them to avoid obfuscation).

    Parameters

    • name: string
    • model: typeof Model

    Returns void

  • loadModels(models: Record<string, typeof Model>): void
  • deprecated

    This is no longer necessary, models are loaded automatically now (even though you may still want to boot them to avoid obfuscation, use the global bootModels method instead).

    Parameters

    • models: Record<string, typeof Model>

    Returns void

  • model(name: string): typeof Model
  • deprecated

    This has been removed entirely. If you need to, keep track of models in your own code because this will be removed in an upcoming release.

    Parameters

    • name: string

    Returns typeof Model

  • useEngine(engine: null | Engine): void
  • deprecated

    import global setEngine method instead.

    Parameters

    Returns void

Generated using TypeDoc