prorm API Reference
← Documentation
GitLab
Preparing search index...
types
ThroughOptions
Interface ThroughOptions
The join table of a many-to-many association, and any extra attributes carried on it.
interface
ThroughOptions
{
model
:
string
|
ModelStatic
<
any
>
;
as
?:
string
;
foreignKey
?:
string
|
AssociationForeignKeyOptions
;
otherKey
?:
string
|
AssociationForeignKeyOptions
;
scope
?:
AssociationScope
;
timestamps
?:
boolean
;
}
Index
Properties
model
as?
foreign
Key?
other
Key?
scope?
timestamps?
Properties
model
model
:
string
|
ModelStatic
<
any
>
Optional
as
as
?:
string
Optional
foreign
Key
foreignKey
?:
string
|
AssociationForeignKeyOptions
Optional
other
Key
otherKey
?:
string
|
AssociationForeignKeyOptions
Optional
scope
scope
?:
AssociationScope
Optional
timestamps
timestamps
?:
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
model
as
foreign
Key
other
Key
scope
timestamps
← Documentation
GitLab
prorm API Reference
Loading...
The join table of a many-to-many association, and any extra attributes carried on it.