sqlkit
Preparing search index...
Column
Class Column
Index
Constructors
constructor
Properties
name
type
Methods
$defaultNOW
$defaultUUID
default
not
Null
primary
Key
references
to
String
unique
Constructors
constructor
new
Column
(
name
:
string
,
type
:
string
)
:
Column
Parameters
name
:
string
type
:
string
Returns
Column
Properties
Readonly
name
name
:
string
Readonly
type
type
:
string
Methods
$defaultNOW
$defaultNOW
()
:
this
Returns
this
$defaultUUID
$defaultUUID
()
:
this
Returns
this
default
default
(
value
:
any
)
:
this
Parameters
value
:
any
Returns
this
not
Null
notNull
()
:
this
Returns
this
primary
Key
primaryKey
()
:
this
Returns
this
references
references
(
__namedParameters
:
{
column
?:
string
;
onDelete
?:
|
"CASCADE"
|
"SET NULL"
|
"NO ACTION"
|
"RESTRICT"
|
"SET DEFAULT"
;
table
:
string
;
}
,
)
:
this
Parameters
__namedParameters
:
{
column
?:
string
;
onDelete
?:
|
"CASCADE"
|
"SET NULL"
|
"NO ACTION"
|
"RESTRICT"
|
"SET DEFAULT"
;
table
:
string
;
}
Returns
this
to
String
toString
()
:
string
Returns
string
unique
unique
()
:
this
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
type
Methods
$defaultNOW
$defaultUUID
default
not
Null
primary
Key
references
to
String
unique
sqlkit
Loading...