Libraries
← Back to Website
All Versions
Preparing search index...
@cleverbrush/knex-schema
WithJoinedOne
Type Alias WithJoinedOne<TBase, TFieldName, TForeignSchema, TRequired>
WithJoinedOne
:
TBase
&
{
[
K
in
TFieldName
]
:
TRequired
extends
true
?
InferType
<
TForeignSchema
>
:
InferType
<
TForeignSchema
>
|
null
}
Adds a single joined object field to TBase
Type Parameters
TBase
TFieldName
extends
string
TForeignSchema
extends
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
TRequired
extends
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
← Back to Website
All Versions
Libraries
Loading...
Adds a single joined object field to TBase