Skip to content

Commit 21b7b07

Browse files
authored
Update README.md
1 parent ef10d07 commit 21b7b07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ file app.php in array providers :
1818
# Aliases
1919
file app.php in array aliases :
2020

21-
`'Batch' => Mavinoo\LaravelBatch\LaravelBatchFacade::class,`
21+
`'LaravelBatch' => Mavinoo\LaravelBatch\LaravelBatchFacade::class,`
2222

2323
# Example Update 1
2424

@@ -40,7 +40,7 @@ $value = [
4040
];
4141
$index = 'id';
4242

43-
Batch::update($userInstance, $value, $index);
43+
LaravelBatch::update($userInstance, $value, $index);
4444
```
4545

4646
# Example Update 2
@@ -71,7 +71,7 @@ $value = [
7171
];
7272
$index = 'id';
7373

74-
Batch::update($userInstance, $value, $index);
74+
LaravelBatch::update($userInstance, $value, $index);
7575
```
7676

7777
# Example Insert
@@ -112,7 +112,7 @@ $values = [
112112
];
113113
$batchSize = 500; // insert 500 (default), 100 minimum rows in one query
114114

115-
$result = Batch::insert($userInstance, $columns, $values, $batchSize);
115+
$result = LaravelBatch::insert($userInstance, $columns, $values, $batchSize);
116116
```
117117

118118

0 commit comments

Comments
 (0)