Fluent
class Fluent (View source)
Class Fluent Provides methods to create database connections for various database engines.
Methods:
nativeMySQLi(array $env, bool $persistent = false, bool $strategy = false): Connection|MySQLiConnection: Creates a native MySQLi connection.nativePgSQL(array $env, bool $persistent = false, bool $strategy = false): Connection|PgSQLConnection: Creates a native PostgreSQL connection.nativeSQLSrv(array $env, bool $persistent = false, bool $strategy = false): Connection|SQLSrvConnection: Creates a native SQL Server connection.nativeOCI(array $env, bool $persistent = false, bool $strategy = false): Connection|OCIConnection: Creates a native Oracle OCI connection.nativeFirebird(array $env, bool $persistent = false, bool $strategy = false): Connection|FirebirdConnection: Creates a native Firebird connection.nativeSQLite(array $env, bool $persistent = false, bool $strategy = false): Connection|SQLiteConnection: Creates a native SQLite connection.nativeMemory(array $env, bool $persistent = false, bool $strategy = false): Connection|SQLiteConnection: Creates a native SQLite in-memory connection.pdoMySQL(array $env, bool $persistent = false, bool $strategy = false): Connection|PDOConnection: Creates a PDO MySQL connection.pdoPgSQL(array $env, bool $persistent = false, bool $strategy = false): Connection|PDOConnection: Creates a PDO PostgreSQL connection.pdoSQLSrv(array $env, bool $strategy = false): Connection|PDOConnection: Creates a PDO SQL Server connection.pdoOCI(array $env, bool $persistent = false, bool $strategy = false): Connection|PDOConnection: Creates a PDO Oracle OCI connection.pdoFirebird(array $env, bool $persistent = false, bool $strategy = false): Connection|PDOConnection: Creates a PDO Firebird connection.pdoSQLite(array $env, bool $persistent = false, bool $strategy = false): Connection|PDOConnection: Creates a PDO SQLite connection.pdoMemory(array $env, bool $persistent = false, bool $strategy = false): Connection|PDOConnection:Creates a PDO SQLite in-memory connection.odbcMySQL(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection:Creates an ODBC MySQL connection.odbcPgSQL(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection:Creates an ODBC PostgreSQL connection.odbcSQLSrv(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection:Creates an ODBC SQL Server connection.odbcOCI(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection:Creates an ODBC Oracle OCI connection.odbcFirebird(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection: Creates an ODBC Firebird connection.odbcSQLite(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection: Creates an ODBC SQLite connection.odbcAccess(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection: Creates an ODBC Microsoft Access connection.odbcExcel(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection: Creates an ODBC Microsoft Excel connection.odbcText(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection: Creates an ODBC Text connection.odbcMemory(array $env, bool $persistent = false, bool $strategy = false): Connection|ODBCConnection: Creates an ODBC SQLite in-memory connection.
Methods
Creates a native MySQLi connection using the provided environment settings.
Creates a native PgSQL connection using the provided environment settings.
Creates a native SQLSrv connection using the provided environment settings.
Creates a native OCI connection using the provided environment settings.
Creates a native Firebird connection using the provided environment settings.
Creates a native SQLite connection using the provided environment settings.
Creates a native SQLite in-memory connection using the provided environment settings.
Creates a PDO MySQL connection using the provided environment settings.
Creates a PDO PgSQL connection using the provided environment settings.
Creates a PDO SQLSrv connection using the provided environment settings.
Creates a PDO OCI connection using the provided environment settings.
Creates a PDO Firebird connection using the provided environment settings.
Creates a PDO SQLite connection using the provided environment settings.
Creates a PDO SQLite in-memory connection using the provided environment settings.
Creates a ODBC MySQL connection using the provided environment settings.
Creates a ODBC PgSQL connection using the provided environment settings.
Creates a ODBC SQLSrv connection using the provided environment settings.
Creates a ODBC OCI connection using the provided environment settings.
Creates a ODBC Firebird connection using the provided environment settings.
Creates a ODBC SQLite connection using the provided environment settings.
Creates a ODBC Access connection using the provided environment settings.
Creates a ODBC Excel connection using the provided environment settings.
Creates a ODBC Text connection using the provided environment settings.
Creates a ODBC Memory connection using the provided environment settings.
Details
static MySQLiConnection
nativeMySQLi(array $env, bool $persistent = false, bool $strategy = false)
Creates a native MySQLi connection using the provided environment settings.
static PgSQLConnection
nativePgSQL(array $env, bool $persistent = false, bool $strategy = false)
Creates a native PgSQL connection using the provided environment settings.
static SQLSrvConnection
nativeSQLSrv(array $env, bool $persistent = false, bool $strategy = false)
Creates a native SQLSrv connection using the provided environment settings.
static OCIConnection
nativeOCI(array $env, bool $persistent = false, bool $strategy = false)
Creates a native OCI connection using the provided environment settings.
static FirebirdConnection
nativeFirebird(array $env, bool $persistent = false, bool $strategy = false)
Creates a native Firebird connection using the provided environment settings.
static SQLiteConnection
nativeSQLite(array $env, bool $persistent = false, bool $strategy = false)
Creates a native SQLite connection using the provided environment settings.
static SQLiteConnection
nativeMemory(array $env, bool $persistent = false, bool $strategy = false)
Creates a native SQLite in-memory connection using the provided environment settings.
static PDOConnection
pdoMySQL(array $env, bool $persistent = false, bool $strategy = false)
Creates a PDO MySQL connection using the provided environment settings.
static PDOConnection
pdoPgSQL(array $env, bool $persistent = false, bool $strategy = false)
Creates a PDO PgSQL connection using the provided environment settings.
static PDOConnection
pdoSQLSrv(array $env, bool $strategy = false)
Creates a PDO SQLSrv connection using the provided environment settings.
static PDOConnection
pdoOCI(array $env, bool $persistent = false, bool $strategy = false)
Creates a PDO OCI connection using the provided environment settings.
static PDOConnection
pdoFirebird(array $env, bool $persistent = false, bool $strategy = false)
Creates a PDO Firebird connection using the provided environment settings.
static PDOConnection
pdoSQLite(array $env, bool $persistent = false, bool $strategy = false)
Creates a PDO SQLite connection using the provided environment settings.
static PDOConnection
pdoMemory(array $env, bool $persistent = false, bool $strategy = false)
Creates a PDO SQLite in-memory connection using the provided environment settings.
static ODBCConnection
odbcMySQL(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC MySQL connection using the provided environment settings.
static ODBCConnection
odbcPgSQL(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC PgSQL connection using the provided environment settings.
static ODBCConnection
odbcSQLSrv(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC SQLSrv connection using the provided environment settings.
static ODBCConnection
odbcOCI(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC OCI connection using the provided environment settings.
static ODBCConnection
odbcFirebird(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC Firebird connection using the provided environment settings.
static ODBCConnection
odbcSQLite(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC SQLite connection using the provided environment settings.
static ODBCConnection
odbcAccess(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC Access connection using the provided environment settings.
static ODBCConnection
odbcExcel(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC Excel connection using the provided environment settings.
static ODBCConnection
odbcText(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC Text connection using the provided environment settings.
static ODBCConnection
odbcMemory(array $env, bool $persistent = false, bool $strategy = false)
Creates a ODBC Memory connection using the provided environment settings.