Skip to content

update docs #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/delete.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Delete helper
-----------
#### drop multi tables
### drop multi tables
Suppose you want to drop multiple tables by their names in the database, you can do it with the following implementation.
```php

Expand All @@ -13,7 +13,7 @@ Suppose you want to drop multiple tables by their names in the database, you can
->executeAll();

```
#### truncate multi tables
### truncate multi tables

Suppose you want to truncate multiple tables by their names in the database, you can do it with the following implementation.
```php
Expand All @@ -28,7 +28,7 @@ Suppose you want to truncate multiple tables by their names in the database, you

```

#### delete large data
### delete large data
If you have a table that contains a large number of data (maybe millions of records)
and you want to delete everything contained in this table,
if you execute the command with one query,
Expand All @@ -52,7 +52,7 @@ so this function divides the large query into more queries with an easy-to-use s
}); // this will implement the delete process only on the result of this callback.
```

#### drop all tables
### drop all tables
If you want to drop all tables from the database.
```php

Expand Down