By default, the first connection registered is the default. This can simply be accessed as you would if there was only one connection. Given the above DB registration these two lines are equal:
$app['dbal']->fetchAssoc('SELECT * FROM table');
$app['dbal.connection.sqlite']->fetchAssoc('SELECT * FROM table');
The default connection can be selected by setting the **default** option toggle.
Using multiple connections::
$app->get('/joined/{searchOne}/{searchTwo}, function ($searchOne, $searchTwo) use ($app)) {
$sqliteQuery = "SELECT * FROM table_one WHERE id = ?";