@mastra/lance 0.3.1-alpha.1 → 0.3.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.
package/dist/index.js
CHANGED
|
@@ -187,7 +187,6 @@ 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);
|
|
191
190
|
}
|
|
192
191
|
return processedResult;
|
|
193
192
|
}
|
|
@@ -1264,7 +1263,7 @@ var StoreOperationsLance = class extends StoreOperations {
|
|
|
1264
1263
|
processedRecord[key] = JSON.stringify(processedRecord[key]);
|
|
1265
1264
|
}
|
|
1266
1265
|
}
|
|
1267
|
-
console.
|
|
1266
|
+
console.info(await table.schema());
|
|
1268
1267
|
await table.mergeInsert(primaryId).whenMatchedUpdateAll().whenNotMatchedInsertAll().execute([processedRecord]);
|
|
1269
1268
|
} catch (error) {
|
|
1270
1269
|
throw new MastraError(
|
|
@@ -1314,7 +1313,6 @@ var StoreOperationsLance = class extends StoreOperations {
|
|
|
1314
1313
|
}
|
|
1315
1314
|
return processedRecord;
|
|
1316
1315
|
});
|
|
1317
|
-
console.log(processedRecords);
|
|
1318
1316
|
await table.mergeInsert(primaryId).whenMatchedUpdateAll().whenNotMatchedInsertAll().execute(processedRecords);
|
|
1319
1317
|
} catch (error) {
|
|
1320
1318
|
throw new MastraError(
|