prorm API Reference
← Documentation
GitLab
Preparing search index...
index
ConstraintDescription
Interface ConstraintDescription
Constraint description
interface
ConstraintDescription
{
name
:
string
;
type
:
"UNIQUE"
|
"PRIMARY KEY"
|
"FOREIGN KEY"
|
"CHECK"
|
"DEFAULT"
;
fields
?:
string
[]
;
reference
?:
{
table
:
string
;
fields
:
string
[]
}
;
}
Index
Properties
name
type
fields?
reference?
Properties
name
name
:
string
type
type
:
"UNIQUE"
|
"PRIMARY KEY"
|
"FOREIGN KEY"
|
"CHECK"
|
"DEFAULT"
Optional
fields
fields
?:
string
[]
Optional
reference
reference
?:
{
table
:
string
;
fields
:
string
[]
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
name
type
fields
reference
← Documentation
GitLab
prorm API Reference
Loading...
Constraint description