Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
#	tests/Unit/Bulk/Create/CreateOrAccumulateTest.php
#	tests/Unit/Bulk/Create/CreateTest.php
  • Loading branch information
lapaliv committed Oct 1, 2023
2 parents 6437dcd + 497491d commit 110c511
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The documentation for version 1.x you can see [here](https://github.com/lapaliv/

- Database:
- MySQL: __5.7+__
- Postgres __9.6+__
- PostgreSQL __9.6+__
- PHP: __8.0+__
- Laravel: __8.0+__

Expand Down Expand Up @@ -415,7 +415,7 @@ use Lapaliv\BulkUpsert\Collections\BulkRows;

User::saving(fn(User $user) => /* .. */);
User::savingMany(
fn(User $user, BulkRows $bulkRows) => /* .. */
fn(Collection $users, BulkRows $bulkRows) => /* .. */
);
```

Expand All @@ -434,7 +434,7 @@ class UserObserver {
// ..
}

public function creatingMany(User $user, BulkRows $bulkRows) {
public function creatingMany(Collection $users, BulkRows $bulkRows) {
// ..
}
}
Expand Down Expand Up @@ -765,8 +765,10 @@ class BulkRow {

### TODO
* Bulk restoring
* Bulk touching
* Bulk updating without updating timestamps
* Supporting `DB::raw()` as a value
* Support `SQLite`
* Supporting `SQLite`
* Support a custom database driver

### Tests
Expand Down

0 comments on commit 110c511

Please sign in to comment.