Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SchemaLoader

Index

Methods

Methods

load

  • load(name: string, schema: Schema<Document<any, {}>, Model<any, any>, undefined>): void
  • Loads a single schema respecting the current connection and config.

    Parameters

    • name: string

      The schema name to use.

    • schema: Schema<Document<any, {}>, Model<any, any>, undefined>

      The schema to load.

    Returns void

loadAll

  • Loads all schemas present in the current connection and config.

    Parameters

    Returns void

Legend

  • Property
  • Method

Generated using TypeDoc