I am a bit confused about laravel database connection.If I execute a laravel code that select from database three queries as example.If laravel establish database connection and login into database then logout for each executing query or laravel connect with the first query and logout after the last query.
// login to the database User::all();// logout from database// login to the database Info::all();// logout from database// login to the database Family::all();// logout from database
or
// login to the database User::all(); Info::all(); Family::all();// logout from database
I am asking that for database session not on the code level.All regards