Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammetsafak committed Nov 17, 2022
1 parent 5deaa05 commit 44ba9b4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ DB::createImmutable([

#### Create

Single Row :

```php
use \InitPHP\Database\Facade\DB;
$data = [
Expand All @@ -71,7 +69,7 @@ if($isInsert){
}
```

Multi Row:
##### Create Batch

```php
use \InitPHP\Database\Facade\DB;
Expand All @@ -89,7 +87,7 @@ $data = [
];

$isInsert = DB::table('post')
->create($data);
->createBatch($data);

/**
* This executes the following query.
Expand Down

0 comments on commit 44ba9b4

Please sign in to comment.