Postgres
in package
implements
ConnectionInterface
The SQLSrv connection class handles the connection to a MSSQL database
Tags
Interfaces, Classes, Traits and Enums
- ConnectionInterface
- Contract for the custom connection classes
Table of Contents
- $driver : string
- connection() : string
- Sets the connection string and returns it
Properties
$driver
protected
static string
$driver
= 'pgsql'
Database Driver
Methods
connection()
Sets the connection string and returns it
public
static connection(string $database, string $hostname) : string
Parameters
- $database : string
-
Database name
- $hostname : string
-
Database host