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 :
18
18
# Aliases
19
19
file app.php in array aliases :
20
20
21
- ` 'Batch ' => Mavinoo\LaravelBatch\LaravelBatchFacade::class, `
21
+ ` 'LaravelBatch ' => Mavinoo\LaravelBatch\LaravelBatchFacade::class, `
22
22
23
23
# Example Update 1
24
24
@@ -40,7 +40,7 @@ $value = [
40
40
];
41
41
$index = 'id';
42
42
43
- Batch ::update($userInstance, $value, $index);
43
+ LaravelBatch ::update($userInstance, $value, $index);
44
44
```
45
45
46
46
# Example Update 2
@@ -71,7 +71,7 @@ $value = [
71
71
];
72
72
$index = 'id';
73
73
74
- Batch ::update($userInstance, $value, $index);
74
+ LaravelBatch ::update($userInstance, $value, $index);
75
75
```
76
76
77
77
# Example Insert
@@ -112,7 +112,7 @@ $values = [
112
112
];
113
113
$batchSize = 500; // insert 500 (default), 100 minimum rows in one query
114
114
115
- $result = Batch ::insert($userInstance, $columns, $values, $batchSize);
115
+ $result = LaravelBatch ::insert($userInstance, $columns, $values, $batchSize);
116
116
```
117
117
118
118
You can’t perform that action at this time.
0 commit comments