Skip to content

Commit

Permalink
[MsSql] Added tests for replicas and fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelelz committed Dec 12, 2023
1 parent 99e1fb8 commit 71e22ce
Show file tree
Hide file tree
Showing 3 changed files with 831 additions and 4 deletions.
6 changes: 3 additions & 3 deletions drizzle-orm/src/mssql-core/query-builders/insert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class MsSqlInsertBase<

iterator = this.createIterator();

$dynamic(): MsSqlInsertDynamic<this> {
return this as any;
}
// $dynamic(): MsSqlInsertDynamic<this> {
// return this as any;
// }
}
2 changes: 1 addition & 1 deletion drizzle-orm/src/mssql-core/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { SelectedFieldsOrdered } from './query-builders/select.types.ts';
export interface QueryResultHKT {
readonly $brand: 'MsSqlQueryRowHKT';
readonly row: unknown;
readonly type: unknown;
readonly type: any;
}

export interface AnyQueryResultHKT extends QueryResultHKT {
Expand Down
Loading

0 comments on commit 71e22ce

Please sign in to comment.