Documentation
Preparing search index...
@rivetkit/db
drizzle/mod
PrimaryKey
Class PrimaryKey
Index
Constructors
constructor
Properties
columns
name?
table
[entity
Kind]
Methods
get
Name
Constructors
constructor
new
PrimaryKey
(
table
:
SQLiteTable
,
columns
:
SQLiteColumn
<
ColumnBaseConfig
<
ColumnDataType
,
string
>
,
{}
,
{}
>
[]
,
name
?:
string
,
)
:
PrimaryKey
Parameters
table
:
SQLiteTable
columns
:
SQLiteColumn
<
ColumnBaseConfig
<
ColumnDataType
,
string
>
,
{}
,
{}
>
[]
Optional
name
:
string
Returns
PrimaryKey
Properties
Readonly
columns
columns
:
SQLiteColumn
<
ColumnBaseConfig
<
ColumnDataType
,
string
>
,
{}
,
{}
>
[]
Optional
Readonly
name
name
?:
string
Readonly
table
table
:
SQLiteTable
Static
Readonly
[entity
Kind]
"[entityKind]"
:
string
Methods
get
Name
getName
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
columns
name
table
[entity
Kind]
Methods
get
Name
Documentation
Loading...