Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kekalainen/eloquent-concurrency
Race condition workarounds for concurrent *OrCreate method calls.
https://github.com/kekalainen/eloquent-concurrency
concurrency eloquent laravel
Last synced: 3 days ago
JSON representation
Race condition workarounds for concurrent *OrCreate method calls.
- Host: GitHub
- URL: https://github.com/kekalainen/eloquent-concurrency
- Owner: kekalainen
- License: mit
- Created: 2023-01-19T06:24:32.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T06:43:41.000Z (almost 2 years ago)
- Last Synced: 2024-09-29T20:58:13.828Z (about 2 months ago)
- Topics: concurrency, eloquent, laravel
- Language: PHP
- Homepage: https://packagist.org/packages/kekalainen/eloquent-concurrency
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Race condition workarounds for concurrent [`*OrCreate`](https://laravel.com/docs/eloquent#upserts) method calls.
# Usage
Apply the `CanRunOrCreateConcurrently` trait to a model:
```php