Use Developer tools to select DB tables quickly.

If like me you find yourself emptying the same tables again and again (test orders etc) it can be frustrating to check 20-30 tables. Why not let the developer tools in Chrome do it for you.
For example the javascript below will select all the sales data tables you will need to empty if you want to reset all the order tables. Just open the inspector and paste the Javascript into the console.

To customise this to suit your requirements simply replace the value=”; with your database table names.

Published by

BlackRhino

I am a 80's child - the NES, N64 generation old enough to remember Boulder dash - young enough to play Call of Duty. I have been developing in PHP for over 10 years - I've been working in Unity 3D for the past 6 months as I expand my skills into Games Development - Magento development helps to pay the bills.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">