https://github.com/dkhorev/spot-n-plus-1-sql-query-problems-early
This is a repo with example code for article https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4
https://github.com/dkhorev/spot-n-plus-1-sql-query-problems-early
laravel sql unit-testing
Last synced: over 1 year ago
JSON representation
This is a repo with example code for article https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4
- Host: GitHub
- URL: https://github.com/dkhorev/spot-n-plus-1-sql-query-problems-early
- Owner: dkhorev
- License: mit
- Created: 2022-07-16T13:00:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-19T19:55:32.000Z (about 3 years ago)
- Last Synced: 2024-07-30T20:58:23.624Z (almost 2 years ago)
- Topics: laravel, sql, unit-testing
- Language: PHP
- Homepage:
- Size: 554 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dkhorev/spot-n-plus-1-sql-query-problems-early
This is a repo with example code for
article [https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4](https://medium.com/@dkhorev/laravel-spot-n-1-sql-query-problems-early-be28125ea8d4)
### Setup & run
`composer i`
`cp .env.example .env`
Fill in DB credentials in `.env`
Seed database: `php artisan migrate:fresh --seed`