Libraries
← Back to Website
All Versions
Preparing search index...
@cleverbrush/knex-schema
resolveColumnRef
Function resolveColumnRef
resolveColumnRef
(
ref
:
ColumnRef
<
any
>
,
schema
:
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
,
label
:
string
,
)
:
string
Resolve a ColumnRef to a plain SQL column name.
String refs are treated as
property keys
and translated to column names via the column map.
Function refs (property accessor) are resolved via PropertyDescriptorTree, then translated to column names.
Parameters
ref
:
ColumnRef
<
any
>
schema
:
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
label
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
← Back to Website
All Versions
Libraries
Loading...
Resolve a ColumnRef to a plain SQL column name.