(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)
PDO::lastInsertId
  • References/PHP/Function/Database/PDO

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Returns the ID of the last inserted row or sequence value

2025-01-10 15:47:30
PDO::inTransaction
  • References/PHP/Function/Database/PDO

(PHP 5 >= 5.3.3, Bundled pdo_pgsql, PHP 7) Checks if inside a transaction

2025-01-10 15:47:30
PDO::exec
  • References/PHP/Function/Database/PDO

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Execute an SQL statement and return the number of affected

2025-01-10 15:47:30
PDO::setAttribute
  • References/PHP/Function/Database/PDO

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Set an attribute

2025-01-10 15:47:30
PDO::beginTransaction
  • References/PHP/Function/Database/PDO

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Initiates a transaction

2025-01-10 15:47:30
PDOStatement::fetchColumn
  • References/PHP/Function/Database/PDO/PDOStatement

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.9.0) Returns a single column from the next row of a result set

2025-01-10 15:47:30
PDOStatement::closeCursor
  • References/PHP/Function/Database/PDO/PDOStatement

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.9.0) Closes the cursor, enabling the statement to be executed again

2025-01-10 15:47:30
PDO::rollBack
  • References/PHP/Function/Database/PDO

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Rolls back a transaction

2025-01-10 15:47:30
PDOStatement::columnCount
  • References/PHP/Function/Database/PDO/PDOStatement

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0) Returns the number of columns in the result set

2025-01-10 15:47:30
PDOStatement::fetchObject
  • References/PHP/Function/Database/PDO/PDOStatement

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.4) Fetches the next row and returns it as an object.

2025-01-10 15:47:30