@prisma/client-engine-runtime 6.14.0-dev.3 → 6.14.0-dev.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { SqlQueryable, SqlResultSet } from '@prisma/driver-adapter-utils';
1
+ import { ConnectionInfo, SqlQueryable, SqlResultSet } from '@prisma/driver-adapter-utils';
2
2
  import { QueryEvent } from '../events';
3
3
  import { QueryPlanNode } from '../QueryPlan';
4
4
  import { type SchemaProvider } from '../schema';
@@ -19,16 +19,18 @@ export type QueryInterpreterOptions = {
19
19
  serializer: (results: SqlResultSet) => Value;
20
20
  rawSerializer?: (results: SqlResultSet) => Value;
21
21
  provider?: SchemaProvider;
22
+ connectionInfo?: ConnectionInfo;
22
23
  };
23
24
  export declare class QueryInterpreter {
24
25
  #private;
25
- constructor({ transactionManager, placeholderValues, onQuery, tracingHelper, serializer, rawSerializer, provider, }: QueryInterpreterOptions);
26
+ constructor({ transactionManager, placeholderValues, onQuery, tracingHelper, serializer, rawSerializer, provider, connectionInfo, }: QueryInterpreterOptions);
26
27
  static forSql(options: {
27
28
  transactionManager: QueryInterpreterTransactionManager;
28
29
  placeholderValues: Record<string, unknown>;
29
30
  onQuery?: (event: QueryEvent) => void;
30
31
  tracingHelper: TracingHelper;
31
32
  provider?: SchemaProvider;
33
+ connectionInfo?: ConnectionInfo;
32
34
  }): QueryInterpreter;
33
35
  run(queryPlan: QueryPlanNode, queryable: SqlQueryable): Promise<unknown>;
34
36
  private interpretNode;
@@ -0,0 +1,3 @@
1
+ import { InMemoryOps } from '../QueryPlan';
2
+ export declare function processRecords(value: unknown, ops: InMemoryOps): unknown;
3
+ export declare function getRecordKey(record: {}, fields: string[]): string;
@@ -2,5 +2,5 @@ import { SqlQuery } from '@prisma/driver-adapter-utils';
2
2
  import type { PrismaValue, QueryPlanDbQuery } from '../QueryPlan';
3
3
  import { GeneratorRegistrySnapshot } from './generators';
4
4
  import { ScopeBindings } from './scope';
5
- export declare function renderQuery(dbQuery: QueryPlanDbQuery, scope: ScopeBindings, generators: GeneratorRegistrySnapshot): SqlQuery;
5
+ export declare function renderQuery(dbQuery: QueryPlanDbQuery, scope: ScopeBindings, generators: GeneratorRegistrySnapshot, maxChunkSize?: number): SqlQuery[];
6
6
  export declare function evaluateParam(param: PrismaValue, scope: ScopeBindings, generators: GeneratorRegistrySnapshot): unknown;
@@ -0,0 +1,6 @@
1
+ export type RawResponse = {
2
+ columns: string[];
3
+ types: string[];
4
+ rows: unknown[][];
5
+ };
6
+ export declare function normalizeRawJsonProtocolResponse(response: RawResponse): RawResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-engine-runtime",
3
- "version": "6.14.0-dev.3",
3
+ "version": "6.14.0-dev.31",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -31,8 +31,8 @@
31
31
  "nanoid": "5.1.5",
32
32
  "ulid": "3.0.0",
33
33
  "uuid": "11.1.0",
34
- "@prisma/debug": "6.14.0-dev.3",
35
- "@prisma/driver-adapter-utils": "6.14.0-dev.3"
34
+ "@prisma/debug": "6.14.0-dev.31",
35
+ "@prisma/driver-adapter-utils": "6.14.0-dev.31"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/jest": "29.5.14",