π₯ Laravel Tip
While running the queue worker command in laravel, you can specify the connection type in the command.
for example:
php artisan queue:work <connection_name>
#laravel#laravelTips
π₯ Laravel Tip: Emptying a table with related records? π‘ Use this method shown in the image!
π‘ Hint: You can also use DB::table()->delete() to delete records, but it won't reset the auto-increment on the primary key.
#laravel#laravelTips
π₯ Laravel Tip: Redirect users to a specific section of a page using redirect()->to() method.
Simply append #section-id to the URL to scroll directly to that section.
Example: `return redirect()->to(route('https://t.co/TDlGXGbT6L') . '#section-id')`;
#laravel