Function: model()
model<
T
,R
>(name
,schema
,options?
):ModelTypes
<T
,R
>
Defined in: ottoman/ottoman.ts:592
Type Parameters
T
T
= any
R
R
= T
Parameters
name
string
schema
Schema
| Record
<string
, unknown
>
options?
Returns
ModelTypes
<T
, R
>