Options
All
  • Public
  • Public/Protected
  • All
Menu

cormo

CORMO module

Index

Type aliases

ModelValueObject<M>: Pick<M, ModelColumnNames<M>>

Exports [[#BaseModel]] class

memberof

cormo

Type parameters

  • M

ModelValueObjectWithId<M>: Pick<M, ModelColumnNamesWithId<M>>

Exports [[#BaseModel]] class

memberof

cormo

Type parameters

  • M

Functions

  • BelongsTo(options?: AssociationBelongsToOptions): (target: BaseModel, propertyKey: string) => void
  • Column(column_property: ColumnType | ColumnType[] | ColumnProperty | ColumnNestedProperty): PropertyDecorator
  • HasMany(options?: AssociationHasManyOptions): (target: BaseModel, propertyKey: string) => void
  • HasOne(options?: AssociationHasOneOptions): (target: BaseModel, propertyKey: string) => void
  • Index(columns: {}, options?: { name?: string; unique?: boolean }): (ctor: typeof BaseModel) => void
  • Model(options?: { connection?: Connection<AdapterBase>; description?: string; name?: string }): (ctor: typeof BaseModel) => void
  • ObjectColumn(partial_model_class: any): PropertyDecorator

Generated using TypeDoc