db

Start a new database CLI session

Terminal
php artisan db [--read] [--write] [--] [<connection>]

Options

readOptional

Connect to the read connection

writeOptional

Connect to the write connection

Arguments

connectionOptional

The database connection that should be used