Today I needed to build a code to be able to delete database records from a single command call, and be able to filter them. I was doing some real-case testing and needed to delete a specific records every time. You know, something to perform quickly a simple:
DELETE FROM users WHERE email LIKE '%@test.com%';
Later, asking Dylan a few questions about artisan, he told me
Why do you not create a package for that? 😛
Since I finished my side project I need something to be working on and learn a few new things.
I found this post on Medium talking about what I just want to do and I found it really helpful (clapped it 50 times 👏).
Thanks to Lasse Lehtinen for sharing!