Skip to content

Help with writing more than 25 documents to Begin Data #55

Description

@crtr0

Begin Data allows you to either set a single document, or an array of documents. But the array is limited to 25 documents.

If you want to write, say, 532 documents you will have to batch them into groups of 25. If you don't, if you try to issue 532 set calls (a naive approach) the Lambda will likely time-out. So batching for list sizes > X is effectively mandatory.

So, it would be lovely if Begin Data either:

  • Auto batched calls to set where the array is > 25 documents or
  • Provides a one-liner helper method to break up a large array into an array of smaller arrays each 25 documents or less

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions