Libraries
← Back to Website
All Versions
Preparing search index...
@cleverbrush/knex-schema
BoundQuery
Interface BoundQuery
interface
BoundQuery
{
transaction
<
T
>
(
callback
:
(
db
:
BoundQuery
)
=>
Promise
<
T
>
)
:
Promise
<
T
>
;
withTransaction
(
trx
:
Transaction
)
:
BoundQuery
;
<
TLocalSchema
extends
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
,
>
(
schema
:
TLocalSchema
,
)
:
SchemaQueryBuilder
<
TLocalSchema
,
QueryResultType
<
TLocalSchema
>
>
;
<
TLocalSchema
extends
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
,
>
(
schema
:
TLocalSchema
,
baseQuery
:
QueryBuilder
,
)
:
SchemaQueryBuilder
<
TLocalSchema
,
QueryResultType
<
TLocalSchema
>
>
;
}
BoundQuery
<
TLocalSchema
extends
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
,
>
(
schema
:
TLocalSchema
,
)
:
SchemaQueryBuilder
<
TLocalSchema
,
QueryResultType
<
TLocalSchema
>
>
Type Parameters
TLocalSchema
extends
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
Parameters
schema
:
TLocalSchema
Returns
SchemaQueryBuilder
<
TLocalSchema
,
QueryResultType
<
TLocalSchema
>
>
BoundQuery
<
TLocalSchema
extends
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
,
>
(
schema
:
TLocalSchema
,
baseQuery
:
QueryBuilder
,
)
:
SchemaQueryBuilder
<
TLocalSchema
,
QueryResultType
<
TLocalSchema
>
>
Type Parameters
TLocalSchema
extends
ObjectSchemaBuilder
<
any
,
any
,
any
,
any
,
any
,
any
,
any
>
Parameters
schema
:
TLocalSchema
baseQuery
:
QueryBuilder
Returns
SchemaQueryBuilder
<
TLocalSchema
,
QueryResultType
<
TLocalSchema
>
>
Index
Methods
transaction
with
Transaction
Methods
transaction
transaction
<
T
>
(
callback
:
(
db
:
BoundQuery
)
=>
Promise
<
T
>
)
:
Promise
<
T
>
Type Parameters
T
Parameters
callback
:
(
db
:
BoundQuery
)
=>
Promise
<
T
>
Returns
Promise
<
T
>
with
Transaction
withTransaction
(
trx
:
Transaction
)
:
BoundQuery
Parameters
trx
:
Transaction
Returns
BoundQuery
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
transaction
with
Transaction
← Back to Website
All Versions
Libraries
Loading...