@mastra/cloudflare-d1 0.11.1-alpha.0 → 0.11.1-alpha.2
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.
- package/dist/_tsup-dts-rollup.d.cts +6 -0
- package/dist/_tsup-dts-rollup.d.ts +6 -0
- package/dist/index.cjs +490 -207
- package/dist/index.js +470 -187
- package/package.json +4 -4
|
@@ -169,6 +169,12 @@ declare class D1Store extends MastraStorage {
|
|
|
169
169
|
tableName: TABLE_NAMES;
|
|
170
170
|
records: Record<string, any>[];
|
|
171
171
|
}): Promise<void>;
|
|
172
|
+
/**
|
|
173
|
+
* Upsert multiple records in a batch operation
|
|
174
|
+
* @param tableName The table to insert into
|
|
175
|
+
* @param records The records to insert
|
|
176
|
+
*/
|
|
177
|
+
private batchUpsert;
|
|
172
178
|
/**
|
|
173
179
|
* @deprecated use getTracesPaginated instead
|
|
174
180
|
*/
|
|
@@ -169,6 +169,12 @@ declare class D1Store extends MastraStorage {
|
|
|
169
169
|
tableName: TABLE_NAMES;
|
|
170
170
|
records: Record<string, any>[];
|
|
171
171
|
}): Promise<void>;
|
|
172
|
+
/**
|
|
173
|
+
* Upsert multiple records in a batch operation
|
|
174
|
+
* @param tableName The table to insert into
|
|
175
|
+
* @param records The records to insert
|
|
176
|
+
*/
|
|
177
|
+
private batchUpsert;
|
|
172
178
|
/**
|
|
173
179
|
* @deprecated use getTracesPaginated instead
|
|
174
180
|
*/
|