Skip to content

feat: add ingestBatch method to datasource accessors#138

Merged
rmorehig merged 4 commits intomainfrom
fix/132-ingest-batch-accessor
Mar 23, 2026
Merged

feat: add ingestBatch method to datasource accessors#138
rmorehig merged 4 commits intomainfrom
fix/132-ingest-batch-accessor

Conversation

@gnzjgo
Copy link
Copy Markdown
Member

@gnzjgo gnzjgo commented Mar 23, 2026

Closes #132

Adds ingestBatch(events, options?) to the DatasourceAccessor type and runtime implementation, so users can do:

await tinybird.myDatasource.ingestBatch([
  { id: '1', name: 'Alice' },
  { id: '2', name: 'Bob' },
]);

The underlying client.ingestBatch() already existed — this just wires it into the generated typed accessors.

@rmorehig rmorehig merged commit dea53a2 into main Mar 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ingestBatch method to generated datasource accessors

2 participants