Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for batch save models in DataStore #3565

Open
thisisabhash opened this issue Mar 13, 2024 · 3 comments
Open

Add support for batch save models in DataStore #3565

thisisabhash opened this issue Mar 13, 2024 · 3 comments
Labels
datastore Issues related to the DataStore category feature-request Request a new feature

Comments

@thisisabhash
Copy link
Member

thisisabhash commented Mar 13, 2024

Is your feature request related to a problem? Please describe.

[On behalf of a customer]
Currently, Datastore supports storing one item at a time:

Amplify.DataStore.save(_ model: M, where condition: QueryPredicate? = nil)

Describe the solution you'd like

An API to save a list or batch of items. Something like:

Amplify.DataStore.save(_ model: [M], where condition: QueryPredicate? = nil)

Describe alternatives you've considered

None

Is the feature request related to any of the existing Amplify categories?

DataStore

Additional context

A similar issue is opened for the API category: #3434

Copy link
Contributor

This issue was opened by a maintainer of this repository; updates will be posted here. If you are also experiencing this issue, please comment here with any relevant information so that we're aware and can prioritize accordingly.

@thisisabhash thisisabhash added datastore Issues related to the DataStore category feature-request Request a new feature labels Mar 13, 2024
Copy link
Contributor

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

@thisisabhash
Copy link
Member Author

We'll post future updates on this feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datastore Issues related to the DataStore category feature-request Request a new feature
Projects
None yet
Development

No branches or pull requests

1 participant