TypeScript Utils by Ian Macalinao
Preparing search index...
kysely-utils
makeNullableRawToPublicIdExpression
Function makeNullableRawToPublicIdExpression
makeNullableRawToPublicIdExpression
<
DB
,
TMapping
extends
PrefixMapping
,
TTable
extends
string
,
>
(
table
:
TTable
,
id
:
ExpressionArg
<
null
|
string
>
,
)
:
AliasableExpression
<
null
|
`
${
TMapping
[
TTable
]
}
_
${
string
}
`
>
Gets the raw ID from a public ID.
Type Parameters
DB
TMapping
extends
PrefixMapping
TTable
extends
string
Parameters
table
:
TTable
id
:
ExpressionArg
<
null
|
string
>
Returns
AliasableExpression
<
null
|
`
${
TMapping
[
TTable
]
}
_
${
string
}
`
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
TypeScript Utils by Ian Macalinao
Loading...
Gets the raw ID from a public ID.