Skip to content

Commit 20702f6

Browse files
committed
...
1 parent 34a3aa0 commit 20702f6

5 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/query-builder/having-interface.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ import type {
22
ComparisonOperatorExpression,
33
OperandValueExpressionOrList,
44
} from '../parser/binary-operation-parser.js'
5-
import type { ExpressionOrFactory } from '../parser/expression-parser.js'
65
import type { ReferenceExpression } from '../parser/reference-parser.js'
7-
import type { SqlBool } from '../util/type-utils.js'
86

97
export interface HavingInterface<DB, TB extends keyof DB> {
108
/**

src/query-builder/on-conflict-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export type OnConflictTables<TB> = TB | 'excluded'
284284

285285
export class OnConflictDoNothingBuilder<
286286
DB,
287-
TB extends keyof DB,
287+
_TB extends keyof DB,
288288
> implements OperationNodeSource {
289289
readonly #props: OnConflictBuilderProps
290290

src/query-compiler/default-query-compiler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import type { OrderByItemNode } from '../operation-node/order-by-item-node.js'
2727
import type { OrderByNode } from '../operation-node/order-by-node.js'
2828
import { ParensNode } from '../operation-node/parens-node.js'
2929
import type { PrimitiveValueListNode } from '../operation-node/primitive-value-list-node.js'
30-
import type { QueryNode } from '../operation-node/query-node.js'
3130
import { RawNode } from '../operation-node/raw-node.js'
3231
import type { ReferenceNode } from '../operation-node/reference-node.js'
3332
import type { ReferencesNode } from '../operation-node/references-node.js'

test/node/src/case.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
TestContext,
55
clearDatabase,
66
destroyTest,
7-
expect,
87
initTest,
98
insertDefaultDataSet,
109
testSql,

test/node/src/raw-sql.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ for (const dialect of DIALECTS) {
369369
}
370370

371371
it('raw sql kitchen sink', async () => {
372-
const result = await sql`insert into ${sql.table('toy')} (${sql.join([
372+
await sql`insert into ${sql.table('toy')} (${sql.join([
373373
sql.ref('name'),
374374
sql.ref('pet_id'),
375375
sql.ref('price'),

0 commit comments

Comments
 (0)