Class: PgIndex<T>
Type Parameters
Type Parameter |
---|
T extends string | string & Record <string , never > |
Methods
expression()
expression(
expression
):PgIndex
<T
>
Parameters
Parameter | Type |
---|---|
expression | Expression <SqlBool > |
Returns
PgIndex
<T
>
external()
external():
PgIndex
<T
>
Returns
PgIndex
<T
>
ifNotExists()
ifNotExists():
PgIndex
<T
>
Returns
PgIndex
<T
>
nullsNotDistinct()
nullsNotDistinct():
PgIndex
<T
>
Returns
PgIndex
<T
>
unique()
unique():
PgIndex
<T
>
Returns
PgIndex
<T
>
using()
using(
indexType
):PgIndex
<T
>
Parameters
Parameter | Type |
---|---|
indexType | string |
Returns
PgIndex
<T
>
where()
where(lhs, op, rhs)
where(
lhs
,op
,rhs
):this
Parameters
Parameter | Type |
---|---|
lhs | Expression <any > | T |
op | ComparisonOperatorExpression |
rhs | unknown |
Returns
this
where(factory)
where(
factory
):this
Parameters
Parameter | Type |
---|---|
factory | (qb ) => Expression <SqlBool > |
Returns
this
where(expression)
where(
expression
):this
Parameters
Parameter | Type |
---|---|
expression | Expression <SqlBool > |
Returns
this