Menu

## AppDatabaseHelper

AppDatabaseHelper.php : 8

### Table of Contents

#### Methods

ddInfo() : Arrayable
  Return everything about database connections discovered
defaultOrFirst() : mixed
  Get a database connection from the pool of connections we have
getDiscoveredConnections() : Arrayable
  Get the discovered database connections that are available in our environment

### Methods

#### ddInfo()

AppDatabaseHelper.php : 30

Return everything about database connections discovered

`public ddInfo() : Arrayable`

##### Return values

Arrayable

#### defaultOrFirst()

AppDatabaseHelper.php : 43

Get a database connection from the pool of connections we have

`public defaultOrFirst([string|null $name = null ]) : mixed`

If a name is passed, then we try to grab that name

##### Parameters

$name : string|null = null

##### Tags

throws
  Throwable

#### getDiscoveredConnections()

AppDatabaseHelper.php : 14

Get the discovered database connections that are available in our environment

`public getDiscoveredConnections() : Arrayable`

##### Return values

Arrayable

## Search results