Replies: 1 comment
-
|
This would actually be a very useful developer-experience improvement, especially during rapid iteration in development and testing environments. Right now, clearing a table often means either:
For development workflows, that creates unnecessary friction for something that is conceptually a very common operation. A dedicated “Truncate table” action in the Console would make a lot of sense, particularly if it:
Something like this under the Settings section would probably fit naturally: Danger Zone
[ Truncate Table ]
Removes all rows and resets sequences.
Table structure, indexes, and permissions remain unchanged.A few safety mechanisms would probably also be important:
From an API/SDK perspective, a dedicated operation could also be cleaner than relying on For larger datasets especially, true truncation can provide:
This feels like one of those small features that ends up saving developers a surprising amount of time during testing and iterative schema development. Related references:
Definitely seems like a reasonable and practical console enhancement. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🔖 Enhancement description
I would like to have a button to empty a table on the console, on the Settings tab, either on its own section or under the Delete table section. This could be a new command on the SDK too. This will reset the sequence number too.
🎤 Pitch
It would be use it on development phase only, and it's a short-hand to delete and re-create the table with the same structure. Also, it would be shorter than listing all records and deleting them one by one.
I know I could run
tablesDB.deleteRowswith no queries, but have to use the SDK.👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
Beta Was this translation helpful? Give feedback.
All reactions