php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Pdo\Pgsql Class Reference
Inheritance diagram for Pdo\Pgsql:
PDO

Public Member Functions

 escapeIdentifier (string $input)
 
 copyFromArray (string $tableName, array $rows, string $separator="\t", string $nullAs="\\\\N", ?string $fields=null)
 
 copyFromFile (string $tableName, string $filename, string $separator="\t", string $nullAs="\\\\N", ?string $fields=null)
 
 copyToArray (string $tableName, string $separator="\t", string $nullAs="\\\\N", ?string $fields=null)
 
 copyToFile (string $tableName, string $filename, string $separator="\t", string $nullAs="\\\\N", ?string $fields=null)
 
 lobCreate ()
 
 lobOpen (string $oid, string $mode="rb")
 
 lobUnlink (string $oid)
 
 getNotify (int $fetchMode=\PDO::FETCH_DEFAULT, int $timeoutMilliseconds=0)
 
 getPid ()
 
 setNoticeCallback (?callable $callback)
 
- Public Member Functions inherited from PDO
 __construct (string $dsn, ?string $username=null, #[\SensitiveParameter] ?string $password=null, ?array $options=null)
 
 beginTransaction ()
 
 commit ()
 
 errorCode ()
 
 errorInfo ()
 
 exec (string $statement)
 
 getAttribute (int $attribute)
 
 inTransaction ()
 
 lastInsertId (?string $name=null)
 
 prepare (string $query, array $options=[])
 
 query (string $query, ?int $fetchMode=null, mixed ... $fetchModeArgs)
 
 quote (string $string, int $type=PDO::PARAM_STR)
 
 rollBack ()
 
 setAttribute (int $attribute, mixed $value)
 

Data Fields

const int ATTR_DISABLE_PREPARES = UNKNOWN
 
const int ATTR_RESULT_MEMORY_SIZE = UNKNOWN
 
const int TRANSACTION_IDLE = UNKNOWN
 
const int TRANSACTION_ACTIVE = UNKNOWN
 
const int TRANSACTION_INTRANS = UNKNOWN
 
const int TRANSACTION_INERROR = UNKNOWN
 
const int TRANSACTION_UNKNOWN = UNKNOWN
 
- Data Fields inherited from PDO
const int PARAM_NULL = 0
 
const int PARAM_BOOL = 5
 
const int PARAM_INT = 1
 
const int PARAM_STR = 2
 
const int PARAM_LOB = 3
 
const int PARAM_STMT = 4
 
const int PARAM_INPUT_OUTPUT = UNKNOWN
 
const int PARAM_STR_NATL = UNKNOWN
 
const int PARAM_STR_CHAR = UNKNOWN
 
const int PARAM_EVT_ALLOC = UNKNOWN
 
const int PARAM_EVT_FREE = UNKNOWN
 
const int PARAM_EVT_EXEC_PRE = UNKNOWN
 
const int PARAM_EVT_EXEC_POST = UNKNOWN
 
const int PARAM_EVT_FETCH_PRE = UNKNOWN
 
const int PARAM_EVT_FETCH_POST = UNKNOWN
 
const int PARAM_EVT_NORMALIZE = UNKNOWN
 
const int FETCH_DEFAULT = UNKNOWN
 
const int FETCH_LAZY = UNKNOWN
 
const int FETCH_ASSOC = UNKNOWN
 
const int FETCH_NUM = UNKNOWN
 
const int FETCH_BOTH = UNKNOWN
 
const int FETCH_OBJ = UNKNOWN
 
const int FETCH_BOUND = UNKNOWN
 
const int FETCH_COLUMN = UNKNOWN
 
const int FETCH_CLASS = UNKNOWN
 
const int FETCH_INTO = UNKNOWN
 
const int FETCH_FUNC = UNKNOWN
 
const int FETCH_GROUP = UNKNOWN
 
const int FETCH_UNIQUE = UNKNOWN
 
const int FETCH_KEY_PAIR = UNKNOWN
 
const int FETCH_CLASSTYPE = UNKNOWN
 
const int FETCH_SERIALIZE = UNKNOWN
 
const int FETCH_PROPS_LATE = UNKNOWN
 
const int FETCH_NAMED = UNKNOWN
 
const int ATTR_AUTOCOMMIT = UNKNOWN
 
const int ATTR_PREFETCH = UNKNOWN
 
const int ATTR_TIMEOUT = UNKNOWN
 
const int ATTR_ERRMODE = UNKNOWN
 
const int ATTR_SERVER_VERSION = UNKNOWN
 
const int ATTR_CLIENT_VERSION = UNKNOWN
 
const int ATTR_SERVER_INFO = UNKNOWN
 
const int ATTR_CONNECTION_STATUS = UNKNOWN
 
const int ATTR_CASE = UNKNOWN
 
const int ATTR_CURSOR_NAME = UNKNOWN
 
const int ATTR_CURSOR = UNKNOWN
 
const int ATTR_ORACLE_NULLS = UNKNOWN
 
const int ATTR_PERSISTENT = UNKNOWN
 
const int ATTR_STATEMENT_CLASS = UNKNOWN
 
const int ATTR_FETCH_TABLE_NAMES = UNKNOWN
 
const int ATTR_FETCH_CATALOG_NAMES = UNKNOWN
 
const int ATTR_DRIVER_NAME = UNKNOWN
 
const int ATTR_STRINGIFY_FETCHES = UNKNOWN
 
const int ATTR_MAX_COLUMN_LEN = UNKNOWN
 
const int ATTR_EMULATE_PREPARES = UNKNOWN
 
const int ATTR_DEFAULT_FETCH_MODE = UNKNOWN
 
const int ATTR_DEFAULT_STR_PARAM = UNKNOWN
 
const int ERRMODE_SILENT = UNKNOWN
 
const int ERRMODE_WARNING = UNKNOWN
 
const int ERRMODE_EXCEPTION = UNKNOWN
 
const int CASE_NATURAL = UNKNOWN
 
const int CASE_LOWER = UNKNOWN
 
const int CASE_UPPER = UNKNOWN
 
const int NULL_NATURAL = UNKNOWN
 
const int NULL_EMPTY_STRING = UNKNOWN
 
const int NULL_TO_STRING = UNKNOWN
 
const string ERR_NONE = UNKNOWN
 
const int FETCH_ORI_NEXT = UNKNOWN
 
const int FETCH_ORI_PRIOR = UNKNOWN
 
const int FETCH_ORI_FIRST = UNKNOWN
 
const int FETCH_ORI_LAST = UNKNOWN
 
const int FETCH_ORI_ABS = UNKNOWN
 
const int FETCH_ORI_REL = UNKNOWN
 
const int CURSOR_FWDONLY = UNKNOWN
 
const int CURSOR_SCROLL = UNKNOWN
 

Additional Inherited Members

- Static Public Member Functions inherited from PDO
static connect (string $dsn, ?string $username=null, #[\SensitiveParameter] ?string $password=null, ?array $options=null)
 
static getAvailableDrivers ()
 

Detailed Description

@strict-properties @not-serializable

Definition at line 11 of file pdo_pgsql.stub.php.

Member Function Documentation

◆ copyFromArray()

Pdo\Pgsql::copyFromArray ( string $tableName,
array $rows,
string $separator = "\t",
string $nullAs = "\\\\N",
?string $fields = null )

Definition at line 38 of file pdo_pgsql.stub.php.

◆ copyFromFile()

Pdo\Pgsql::copyFromFile ( string $tableName,
string $filename,
string $separator = "\t",
string $nullAs = "\\\\N",
?string $fields = null )

Definition at line 40 of file pdo_pgsql.stub.php.

◆ copyToArray()

Pdo\Pgsql::copyToArray ( string $tableName,
string $separator = "\t",
string $nullAs = "\\\\N",
?string $fields = null )

Definition at line 42 of file pdo_pgsql.stub.php.

◆ copyToFile()

Pdo\Pgsql::copyToFile ( string $tableName,
string $filename,
string $separator = "\t",
string $nullAs = "\\\\N",
?string $fields = null )

Definition at line 44 of file pdo_pgsql.stub.php.

◆ escapeIdentifier()

Pdo\Pgsql::escapeIdentifier ( string $input)

Definition at line 36 of file pdo_pgsql.stub.php.

◆ getNotify()

Pdo\Pgsql::getNotify ( int $fetchMode = \PDO::FETCH_DEFAULT,
int $timeoutMilliseconds = 0 )

Definition at line 56 of file pdo_pgsql.stub.php.

◆ getPid()

Pdo\Pgsql::getPid ( )

Definition at line 58 of file pdo_pgsql.stub.php.

◆ lobCreate()

Pdo\Pgsql::lobCreate ( )

Definition at line 46 of file pdo_pgsql.stub.php.

◆ lobOpen()

Pdo\Pgsql::lobOpen ( string $oid,
string $mode = "rb" )

Opens an existing large object stream. Must be called inside a transaction.

Returns
resource|false

Definition at line 52 of file pdo_pgsql.stub.php.

◆ lobUnlink()

Pdo\Pgsql::lobUnlink ( string $oid)

Definition at line 54 of file pdo_pgsql.stub.php.

◆ setNoticeCallback()

Pdo\Pgsql::setNoticeCallback ( ?callable $callback)

Definition at line 60 of file pdo_pgsql.stub.php.

Field Documentation

◆ ATTR_DISABLE_PREPARES

const int Pdo\Pgsql::ATTR_DISABLE_PREPARES = UNKNOWN

@cvalue PDO_PGSQL_ATTR_DISABLE_PREPARES

Definition at line 14 of file pdo_pgsql.stub.php.

◆ ATTR_RESULT_MEMORY_SIZE

const int Pdo\Pgsql::ATTR_RESULT_MEMORY_SIZE = UNKNOWN

@cvalue PDO_PGSQL_ATTR_RESULT_MEMORY_SIZE

Definition at line 18 of file pdo_pgsql.stub.php.

◆ TRANSACTION_ACTIVE

const int Pdo\Pgsql::TRANSACTION_ACTIVE = UNKNOWN

@cvalue PGSQL_TRANSACTION_ACTIVE

Definition at line 25 of file pdo_pgsql.stub.php.

◆ TRANSACTION_IDLE

const int Pdo\Pgsql::TRANSACTION_IDLE = UNKNOWN

@cvalue PGSQL_TRANSACTION_IDLE

Definition at line 22 of file pdo_pgsql.stub.php.

◆ TRANSACTION_INERROR

const int Pdo\Pgsql::TRANSACTION_INERROR = UNKNOWN

@cvalue PGSQL_TRANSACTION_INERROR

Definition at line 31 of file pdo_pgsql.stub.php.

◆ TRANSACTION_INTRANS

const int Pdo\Pgsql::TRANSACTION_INTRANS = UNKNOWN

@cvalue PGSQL_TRANSACTION_INTRANS

Definition at line 28 of file pdo_pgsql.stub.php.

◆ TRANSACTION_UNKNOWN

const int Pdo\Pgsql::TRANSACTION_UNKNOWN = UNKNOWN

@cvalue PGSQL_TRANSACTION_UNKNOWN

Definition at line 34 of file pdo_pgsql.stub.php.


The documentation for this class was generated from the following file: