feat: use batch api (#1)

+ bulk record creation support for JSON and CSV
This commit is contained in:
michal-kapala
2024-11-27 17:34:56 +01:00
parent df56216609
commit b5d11cfc28
3 changed files with 40 additions and 43 deletions

View File

@ -143,7 +143,6 @@ export function parseData(
// create a row schema for the collection
const rowSchema = generateRowSchema(schema);
console.log("RowSchema", rowSchema);
data.forEach((rawRow) => {
rows.push(parseRow(rawRow, rowSchema));