@prisma-next/adapter-sqlite 0.12.0-dev.9 → 0.13.0-dev.1

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,6 +1,7 @@
1
- import { n as SqliteContract, r as SqliteLoweredStatement, t as SqliteAdapterOptions } from "./types-bTlW__XL.mjs";
1
+ import { n as SqliteContract, r as SqliteLoweredStatement, t as SqliteAdapterOptions } from "./types-rMUNtvF6.mjs";
2
2
  import { Adapter, AdapterProfile, AnyQueryAst, LowererContext } from "@prisma-next/sql-relational-core/ast";
3
3
  import { RawCodecInferer } from "@prisma-next/sql-relational-core/expression";
4
+ import { SqliteDdlNode } from "@prisma-next/target-sqlite/ddl";
4
5
 
5
6
  //#region src/core/adapter.d.ts
6
7
  declare class SqliteAdapterImpl implements Adapter<AnyQueryAst, SqliteContract, SqliteLoweredStatement> {
@@ -8,11 +9,11 @@ declare class SqliteAdapterImpl implements Adapter<AnyQueryAst, SqliteContract,
8
9
  readonly targetId: "sqlite";
9
10
  readonly profile: AdapterProfile<'sqlite'>;
10
11
  constructor(options?: SqliteAdapterOptions);
11
- lower(ast: AnyQueryAst, context: LowererContext<SqliteContract>): SqliteLoweredStatement;
12
+ lower(ast: AnyQueryAst | SqliteDdlNode, context: LowererContext<SqliteContract>): SqliteLoweredStatement;
12
13
  }
13
14
  /** Codec-id lookup for bare-literal interpolations used by `fns.raw` on a sqlite client. Contributed as the descriptor's static `rawCodecInferer` slot. */
14
15
  declare const sqliteRawCodecInferer: RawCodecInferer;
15
16
  declare function createSqliteAdapter(options?: SqliteAdapterOptions): Readonly<SqliteAdapterImpl>;
16
17
  //#endregion
17
18
  export { sqliteRawCodecInferer as n, createSqliteAdapter as t };
18
- //# sourceMappingURL=adapter-Cn_t9TdZ.d.mts.map
19
+ //# sourceMappingURL=adapter-CPydDe3Y.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter-CPydDe3Y.d.mts","names":[],"sources":["../src/core/adapter.ts"],"mappings":";;;;;;cAqDM,iBAAA,YAA6B,OAAA,CAAQ,WAAA,EAAa,cAAA,EAAgB,sBAAA;EAAA,SAC7D,QAAA;EAAA,SACA,QAAA;EAAA,SAEA,OAAA,EAAS,cAAA;cAEN,OAAA,GAAU,oBAAA;EAyBtB,KAAA,CACE,GAAA,EAAK,WAAA,GAAc,aAAA,EACnB,OAAA,EAAS,cAAA,CAAe,cAAA,IACvB,sBAAA;AAAA;;cASQ,qBAAA,EAAuB,eAoBnC;AAAA,iBAygBe,mBAAA,CAAoB,OAAA,GAAU,oBAAA,GAAoB,QAAA,CAAA,iBAAA"}