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

API endpoint to empty (truncate) a table #1550

Open
RTechSn opened this issue Jan 20, 2025 · 3 comments
Open

API endpoint to empty (truncate) a table #1550

RTechSn opened this issue Jan 20, 2025 · 3 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request

Comments

@RTechSn
Copy link

RTechSn commented Jan 20, 2025

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

Sometimes you need to put new data into a table, replacing an old data.
Right now it's possible, but you need to get the list of rows and then delete them one by one.

Describe the solution you'd like

DELETE /index.php/apps/tables/api/1/views/{viewId}/rows/* or something like that.

Describe alternatives you've considered

#437 With option to delete all

Additional context

No response

@RTechSn RTechSn added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Jan 20, 2025
@blizzz blizzz added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Jan 23, 2025
@blizzz
Copy link
Member

blizzz commented Jan 23, 2025

Sounds useful in some scenarios. @RTechSn would you like to contribute to it?

@RTechSn
Copy link
Author

RTechSn commented Jan 24, 2025

Sounds useful in some scenarios. @RTechSn would you like to contribute to it?

I will look into it. I have tried changing various fragments of Nextcloud code before, and generally it's pretty complex.

@blizzz
Copy link
Member

blizzz commented Jan 24, 2025

Sounds useful in some scenarios. @RTechSn would you like to contribute to it?

I will look into it. I have tried changing various fragments of Nextcloud code before, and generally it's pretty complex.

Cool – please shout out if you need assistance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants