Is it possible to mass delete all records in a table

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
johnboy
Posts: 3
Joined: 2014-06-07 06:31

Is it possible to mass delete all records in a table

Post by johnboy » 2014-06-07 06:33

Hi,

Using the mass deleted option in 5.30 it deletes the selected visible rows.

Is there a way to delete all rows (empty the table) at once?


Thanks

John

User avatar
a.gneady
Site Admin
Posts: 1287
Joined: 2012-09-27 14:46
Contact:

Re: Is it possible to mass delete all records in a table

Post by a.gneady » 2014-06-07 14:58

Nope. You can only delete all records displayed in the current page. If you have too many pages, better run this SQL in phpMyAdmin:

Code: Select all

delete from `tablename`
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

User avatar
toconnell
Veteran Member
Posts: 204
Joined: 2013-04-09 19:29
Location: Oklahoma City, OK
Contact:

Re: Is it possible to mass delete all records in a table

Post by toconnell » 2014-06-10 15:30

I love the new AppGini version.. just paid my upgrade fee and installed it.. WOW! Thanks Ahmad!! Great work!
Tina O'Connell
Web Dev & Appgini FAN

User avatar
a.gneady
Site Admin
Posts: 1287
Joined: 2012-09-27 14:46
Contact:

Re: Is it possible to mass delete all records in a table

Post by a.gneady » 2014-06-15 16:16

toconnell wrote:I love the new AppGini version.. just paid my upgrade fee and installed it.. WOW! Thanks Ahmad!! Great work!
You're always welcome :mrgreen:
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

User avatar
toconnell
Veteran Member
Posts: 204
Joined: 2013-04-09 19:29
Location: Oklahoma City, OK
Contact:

Re: Is it possible to mass delete all records in a table

Post by toconnell » 2014-06-20 13:46

John,

Ahmad is saying basically use your PHPMyadmin and directly in MYSql you can just drop all records from a table with that sql command he put above. With the new mass delete function if your table is showing 10 records you can only delete what you can see, those 10 records at one time. Which anymore in the application can prove dangerous. I think it is a good method. I use it with a filter.. filter out all the records I want to delete based on my criteria in the filter and then select all and mass delete.. love this new function!
Tina O'Connell
Web Dev & Appgini FAN

ohinrichs
Posts: 7
Joined: 2013-11-21 10:22

Re: Is it possible to mass delete all records in a table

Post by ohinrichs » 2014-07-02 08:59

Can't find a mass delete function in 5.30-628. Where is it?

ohinrichs
Posts: 7
Joined: 2013-11-21 10:22

Re: Is it possible to mass delete all records in a table

Post by ohinrichs » 2014-07-02 09:52

ahh...found the "allow mass delete" checkbox in appgini.

sorry for double post!

Post Reply