Documentation
Preparing search index...
@rivetkit/db
drizzle/mod
numeric
Function numeric
numeric
<
TMode
extends
"string"
|
"number"
|
"bigint"
>
(
config
?:
SQLiteNumericConfig
<
TMode
>
,
)
:
Equal
<
TMode
,
"number"
>
extends
true
?
SQLiteNumericNumberBuilderInitial
<
""
>
:
Equal
<
TMode
,
"bigint"
>
extends
true
?
SQLiteNumericBigIntBuilderInitial
<
""
>
:
SQLiteNumericBuilderInitial
<
""
>
Type Parameters
TMode
extends
"string"
|
"number"
|
"bigint"
Parameters
Optional
config
:
SQLiteNumericConfig
<
TMode
>
Returns
Equal
<
TMode
,
"number"
>
extends
true
?
SQLiteNumericNumberBuilderInitial
<
""
>
:
Equal
<
TMode
,
"bigint"
>
extends
true
?
SQLiteNumericBigIntBuilderInitial
<
""
>
:
SQLiteNumericBuilderInitial
<
""
>
numeric
<
TName
extends
string
,
TMode
extends
"string"
|
"number"
|
"bigint"
>
(
name
:
TName
,
config
?:
SQLiteNumericConfig
<
TMode
>
,
)
:
Equal
<
TMode
,
"number"
>
extends
true
?
SQLiteNumericNumberBuilderInitial
<
TName
>
:
Equal
<
TMode
,
"bigint"
>
extends
true
?
SQLiteNumericBigIntBuilderInitial
<
TName
>
:
SQLiteNumericBuilderInitial
<
TName
>
Type Parameters
TName
extends
string
TMode
extends
"string"
|
"number"
|
"bigint"
Parameters
name
:
TName
Optional
config
:
SQLiteNumericConfig
<
TMode
>
Returns
Equal
<
TMode
,
"number"
>
extends
true
?
SQLiteNumericNumberBuilderInitial
<
TName
>
:
Equal
<
TMode
,
"bigint"
>
extends
true
?
SQLiteNumericBigIntBuilderInitial
<
TName
>
:
SQLiteNumericBuilderInitial
<
TName
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
Loading...