File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
Delete helper
2
2
-----------
3
- #### drop multi tables
3
+ ### drop multi tables
4
4
Suppose you want to drop multiple tables by their names in the database, you can do it with the following implementation.
5
5
``` php
6
6
@@ -13,7 +13,7 @@ Suppose you want to drop multiple tables by their names in the database, you can
13
13
->executeAll();
14
14
15
15
```
16
- #### truncate multi tables
16
+ ### truncate multi tables
17
17
18
18
Suppose you want to truncate multiple tables by their names in the database, you can do it with the following implementation.
19
19
``` php
@@ -28,7 +28,7 @@ Suppose you want to truncate multiple tables by their names in the database, you
28
28
29
29
```
30
30
31
- #### delete large data
31
+ ### delete large data
32
32
If you have a table that contains a large number of data (maybe millions of records)
33
33
and you want to delete everything contained in this table,
34
34
if 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
52
52
}); // this will implement the delete process only on the result of this callback.
53
53
```
54
54
55
- #### drop all tables
55
+ ### drop all tables
56
56
If you want to drop all tables from the database.
57
57
``` php
58
58
You can’t perform that action at this time.
0 commit comments