Type alias Attributes<M>

Attributes<M>: M["_attributes"]

Returns the creation attributes of a given Model.

This returns the Attributes of a Model that have already been defined, it does not build them. If you need to build them, use InferAttributes.

Type Parameters


function getValue<M extends Model>(modelClass: ModelStatic<M>, attribute: keyof Attributes<M>) {}

Generated using TypeDoc