Skip to main content

belongsToModel

@webda/core


Function: belongsToModel()

belongsToModel(model, stored, tableRoot?): boolean

Defined in: packages/models/lib/types-resolver.d.ts:191

Parameters​

model​

ModelClass

the model

stored​

string

the stored __type

tableRoot?​

ModelClass

the model owning the untyped rows

Returns​

boolean

true when the row belongs to the model