AppDatabaseHelper
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()
Return everything about database connections discovered
public
ddInfo() : Arrayable
Return values
ArrayabledefaultOrFirst()
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
getDiscoveredConnections()
Get the discovered database connections that are available in our environment
public
getDiscoveredConnections() : Arrayable