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 @@ -18,7 +18,7 @@ file app.php in array providers :
1818# Aliases
1919file 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
You can’t perform that action at this time.
0 commit comments