File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11Delete helper
22-----------
3- #### drop multi tables
3+ ### drop multi tables
44Suppose you want to drop multiple tables by their names in the database, you can do it with the following implementation.
55``` php
66
@@ -13,7 +13,7 @@ Suppose you want to drop multiple tables by their names in the database, you can
1313 ->executeAll();
1414
1515```
16- #### truncate multi tables
16+ ### truncate multi tables
1717
1818Suppose you want to truncate multiple tables by their names in the database, you can do it with the following implementation.
1919``` php
@@ -28,7 +28,7 @@ Suppose you want to truncate multiple tables by their names in the database, you
2828
2929```
3030
31- #### delete large data
31+ ### delete large data
3232If you have a table that contains a large number of data (maybe millions of records)
3333and you want to delete everything contained in this table,
3434if you execute the command with one query,
@@ -52,7 +52,7 @@ so this function divides the large query into more queries with an easy-to-use s
5252 }); // this will implement the delete process only on the result of this callback.
5353```
5454
55- #### drop all tables
55+ ### drop all tables
5656If you want to drop all tables from the database.
5757``` php
5858
You can’t perform that action at this time.
0 commit comments