DataTables PHP 3.0.2

Pgsql extends PDO
in package

Table of Contents

Constants

ATTR_DISABLE_PREPARES  = \PDO::PGSQL_ATTR_DISABLE_PREPARES

Methods

__construct()  : mixed
connect()  : self
copyFromArray()  : bool
copyFromFile()  : bool
copyToArray()  : array<string|int, mixed>|false
copyToFile()  : bool
getNotify()  : array<string|int, mixed>|false
getPid()  : int
lobCreate()  : string|false
lobOpen()  : resource|false
lobUnlink()  : bool

Constants

ATTR_DISABLE_PREPARES

public mixed ATTR_DISABLE_PREPARES = \PDO::PGSQL_ATTR_DISABLE_PREPARES

Methods

__construct()

public __construct(string $dsn[, string|null $username = null ][, string|null $password = null ][, array<string|int, mixed>|null $options = null ]) : mixed
Parameters
$dsn : string
$username : string|null = null
$password : string|null = null
$options : array<string|int, mixed>|null = null

connect()

public static connect(string $dsn[, string|null $username = null ][, string|null $password = null ][, array<string|int, mixed>|null $options = null ]) : self
Parameters
$dsn : string
$username : string|null = null
$password : string|null = null
$options : array<string|int, mixed>|null = null
Return values
self

copyFromArray()

public copyFromArray(string $tableName, array<string|int, mixed> $rows[, string $separator = " " ][, string $nullAs = '\\N' ][, string|null $fields = null ]) : bool
Parameters
$tableName : string
$rows : array<string|int, mixed>
$separator : string = " "
$nullAs : string = '\\N'
$fields : string|null = null
Return values
bool

copyFromFile()

public copyFromFile(string $tableName, string $filename[, string $separator = " " ][, string $nullAs = '\\N' ][, string|null $fields = null ]) : bool
Parameters
$tableName : string
$filename : string
$separator : string = " "
$nullAs : string = '\\N'
$fields : string|null = null
Return values
bool

copyToArray()

public copyToArray(string $tableName[, string $separator = " " ][, string $nullAs = '\\N' ][, string|null $fields = null ]) : array<string|int, mixed>|false
Parameters
$tableName : string
$separator : string = " "
$nullAs : string = '\\N'
$fields : string|null = null
Return values
array<string|int, mixed>|false

copyToFile()

public copyToFile(string $tableName, string $filename[, string $separator = " " ][, string $nullAs = '\\N' ][, string|null $fields = null ]) : bool
Parameters
$tableName : string
$filename : string
$separator : string = " "
$nullAs : string = '\\N'
$fields : string|null = null
Return values
bool

getNotify()

public getNotify([int $fetchMode = PDO::FETCH_DEFAULT ][, int $timeoutMilliseconds = 0 ]) : array<string|int, mixed>|false
Parameters
$fetchMode : int = PDO::FETCH_DEFAULT
$timeoutMilliseconds : int = 0
Return values
array<string|int, mixed>|false

getPid()

public getPid() : int
Return values
int

lobCreate()

public lobCreate() : string|false
Return values
string|false

lobOpen()

public lobOpen(string $oid[, string $mode = 'rb' ]) : resource|false
Parameters
$oid : string
$mode : string = 'rb'
Return values
resource|false
public lobUnlink(string $oid) : bool
Parameters
$oid : string
Return values
bool

        
On this page

Search results