Options
All
  • Public
  • Public/Protected
  • All
Menu

Class which implements the logic for odm initializer actions.

export
class

ModelsFileOperations

Hierarchy

  • ModelsFileOperations

Index

Methods

initializeSequelizeModels

  • initializeSequelizeModels(filePath: string, schema: Schema): Promise<boolean[]>
  • Generate sequelize models based on schema.

    Parameters

    • filePath: string

      path of the root of the api

    • schema: Schema

      source schema for api generation

    Returns Promise<boolean[]>

    true if all models have been generated

Generated using TypeDoc