Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritix authored Mar 18, 2020
1 parent 9fb0ff0 commit 9b38ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ php artisan lada-cache:enable
- Doesn't work with [raw SQL queries](https://laravel.com/docs/7.x/database#running-queries). This would require an SQL parser to be implemented which is quite hard and very inefficient. As long as you are only using raw queries for reading data, it just won't get cached. Serious issues will only occur if you use raw queries for writing data (which you shouldn't be doing anyway).
- Doesn't work with [multiple connections](https://laravel.com/docs/7.x/database#using-multiple-database-connections) if done like ``DB::connection('foo')``. Instead, specify the ``protected $connection = 'foo';`` property in the relevant models.
- The cache must be truncated manually after migrations are executed.
- Pessimistic locking (sharedLock, lockForUpdate) requires usage of [raw sql queries](https://github.com/spiritix/lada-cache/issues/49).
- Pessimistic locking (sharedLock, lockForUpdate) requires usage of [raw SQL queries](https://github.com/spiritix/lada-cache/issues/49).

## Contributing

Expand Down

0 comments on commit 9b38ff3

Please sign in to comment.