TypeScript Utils by Ian Macalinao
Preparing search index...
kysely-utils
makePublicToRawIdExpression
Function makePublicToRawIdExpression
makePublicToRawIdExpression
<
DB
,
TMapping
extends
PrefixMapping
,
TTable
extends
string
,
>
(
table
:
TTable
,
id
:
ExpressionArg
<
`
${
TMapping
[
TTable
]
}
_
${
string
}
`
>
,
)
:
AliasableExpression
<
string
>
Gets the raw ID from a public ID.
Type Parameters
DB
TMapping
extends
PrefixMapping
TTable
extends
string
Parameters
table
:
TTable
id
:
ExpressionArg
<
`
${
TMapping
[
TTable
]
}
_
${
string
}
`
>
Returns
AliasableExpression
<
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.