@@ -37,7 +37,6 @@ import { NOOP_QUERY_EXECUTOR } from '../query-executor/noop-query-executor.js'
3737import { QueryExecutor } from '../query-executor/query-executor.js'
3838import { Compilable } from '../util/compilable.js'
3939import { freeze } from '../util/object-utils.js'
40- import { preventAwait } from '../util/prevent-await.js'
4140import { QueryId } from '../util/query-id.js'
4241import {
4342 ShallowRecord ,
@@ -262,11 +261,6 @@ export class MergeQueryBuilder<DB, TT extends keyof DB, O>
262261 }
263262}
264263
265- preventAwait (
266- MergeQueryBuilder ,
267- "don't await MergeQueryBuilder instances directly. To execute the query you need to call `execute` when available." ,
268- )
269-
270264export interface MergeQueryBuilderProps {
271265 readonly queryId : QueryId
272266 readonly queryNode : MergeQueryNode
@@ -833,11 +827,6 @@ export class WheneableMergeQueryBuilder<
833827 }
834828}
835829
836- preventAwait (
837- WheneableMergeQueryBuilder ,
838- "don't await WheneableMergeQueryBuilder instances directly. To execute the query you need to call `execute`." ,
839- )
840-
841830export class MatchedThenableMergeQueryBuilder <
842831 DB ,
843832 TT extends keyof DB ,
@@ -1034,11 +1023,6 @@ export class MatchedThenableMergeQueryBuilder<
10341023 }
10351024}
10361025
1037- preventAwait (
1038- MatchedThenableMergeQueryBuilder ,
1039- "don't await MatchedThenableMergeQueryBuilder instances directly. To execute the query you need to call `execute` when available." ,
1040- )
1041-
10421026export class NotMatchedThenableMergeQueryBuilder <
10431027 DB ,
10441028 TT extends keyof DB ,
@@ -1145,11 +1129,6 @@ export class NotMatchedThenableMergeQueryBuilder<
11451129 }
11461130}
11471131
1148- preventAwait (
1149- NotMatchedThenableMergeQueryBuilder ,
1150- "don't await NotMatchedThenableMergeQueryBuilder instances directly. To execute the query you need to call `execute` when available." ,
1151- )
1152-
11531132export type ExtractWheneableMergeQueryBuilder <
11541133 DB ,
11551134 TT extends keyof DB ,
0 commit comments