Documentation

Postgres implements ConnectionInterface

The SQLSrv connection class handles the connection to a MSSQL database

Tags
author

Jason Napolitano

version
1.0.0
since
1.0.0
license

MIT https://mit-license.org

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

Return values
string

Search results