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

S3 option to delete multiple objects with single request #16520

Open
zigazajc007 opened this issue Jan 19, 2025 · 1 comment · May be fixed by #16847
Open

S3 option to delete multiple objects with single request #16520

zigazajc007 opened this issue Jan 19, 2025 · 1 comment · May be fixed by #16847
Labels
enhancement New feature or request s3

Comments

@zigazajc007
Copy link

What is the problem this feature would solve?

Currently Bun's implementation of S3 only allows us to delete a single file / object at the time.

Example:

await client.delete("my-file.txt");

What is the feature you are proposing to solve the problem?

delete function should accept array of paths / keys for deletion.

Example:

await client.delete(["my-file.txt","another-file.txt"]);

What alternatives have you considered?

Using S3 library from AWS, we can delete multiple keys at once.

Example:

Image
@zigazajc007 zigazajc007 added the enhancement New feature or request label Jan 19, 2025
@RiskyMH RiskyMH added the s3 label Jan 19, 2025
@Inqnuam
Copy link
Contributor

Inqnuam commented Jan 23, 2025

On it

Image

@Inqnuam Inqnuam linked a pull request Jan 28, 2025 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request s3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants