@mastra/lance 0.0.0-fix-cloud-peer-deps-20250923194656 → 0.0.0-gl-test-20250917080133
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/index.js
CHANGED
|
@@ -187,6 +187,7 @@ function processResultWithTypeConversion(rawResult, tableSchema) {
|
|
|
187
187
|
} else if (fieldTypeStr.includes("float64") && ["createdAt", "updatedAt"].includes(key)) {
|
|
188
188
|
processedResult[key] = new Date(processedResult[key]);
|
|
189
189
|
}
|
|
190
|
+
console.log(key, "processedResult", processedResult);
|
|
190
191
|
}
|
|
191
192
|
return processedResult;
|
|
192
193
|
}
|
|
@@ -1263,7 +1264,7 @@ var StoreOperationsLance = class extends StoreOperations {
|
|
|
1263
1264
|
processedRecord[key] = JSON.stringify(processedRecord[key]);
|
|
1264
1265
|
}
|
|
1265
1266
|
}
|
|
1266
|
-
console.
|
|
1267
|
+
console.log(await table.schema());
|
|
1267
1268
|
await table.mergeInsert(primaryId).whenMatchedUpdateAll().whenNotMatchedInsertAll().execute([processedRecord]);
|
|
1268
1269
|
} catch (error) {
|
|
1269
1270
|
throw new MastraError(
|
|
@@ -1313,6 +1314,7 @@ var StoreOperationsLance = class extends StoreOperations {
|
|
|
1313
1314
|
}
|
|
1314
1315
|
return processedRecord;
|
|
1315
1316
|
});
|
|
1317
|
+
console.log(processedRecords);
|
|
1316
1318
|
await table.mergeInsert(primaryId).whenMatchedUpdateAll().whenNotMatchedInsertAll().execute(processedRecords);
|
|
1317
1319
|
} catch (error) {
|
|
1318
1320
|
throw new MastraError(
|