Pionia Core

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

defaultOrFirst()

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()

Get the discovered database connections that are available in our environment

public getDiscoveredConnections() : Arrayable
Return values
Arrayable

        
On this page

Search results