prorm API Reference
← Documentation
GitLab
Preparing search index...
index
HasManyOptions
Interface HasManyOptions
interface
HasManyOptions
{
as
?:
string
;
foreignKey
?:
string
;
sourceKey
?:
string
;
onDelete
?:
"CASCADE"
|
"RESTRICT"
|
"SET NULL"
|
"NO ACTION"
;
onUpdate
?:
"CASCADE"
|
"RESTRICT"
|
"SET NULL"
|
"NO ACTION"
;
hooks
?:
boolean
;
}
Index
Properties
as?
foreign
Key?
source
Key?
on
Delete?
on
Update?
hooks?
Properties
Optional
as
as
?:
string
Optional
foreign
Key
foreignKey
?:
string
Optional
source
Key
sourceKey
?:
string
Optional
on
Delete
onDelete
?:
"CASCADE"
|
"RESTRICT"
|
"SET NULL"
|
"NO ACTION"
Optional
on
Update
onUpdate
?:
"CASCADE"
|
"RESTRICT"
|
"SET NULL"
|
"NO ACTION"
Optional
hooks
hooks
?:
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
as
foreign
Key
source
Key
on
Delete
on
Update
hooks
← Documentation
GitLab
prorm API Reference
Loading...