__seq`. * * @return string * * @see http://php.net/manual/en/pdo.lastinsertid.php * */ public function lastInsertId($name = null); /** * * Prepares an SQL statement for execution. * * @param string $statement The SQL statement to prepare for execution. * * @param array $options Set these attributes on the returned * PDOStatement. * * @return \PDOStatement * * @see http://php.net/manual/en/pdo.prepare.php * */ public function prepare($statement, $options = null); /** * * Queries the database and returns a PDOStatement. * * @param string $statement The SQL statement to prepare and execute. * * @param mixed ...$fetch Optional fetch-related parameters. * * @return \PDOStatement * * @see http://php.net/manual/en/pdo.query.php * */ public function query($statement, ...$fetch); /** * * Quotes a value for use in an SQL statement. * * @param mixed $value The value to quote. * * @param int $parameter_type A data type hint for the database driver. * * @return string The quoted value. * * @see http://php.net/manual/en/pdo.quote.php * */ public function quote($value, $parameter_type = PDO::PARAM_STR); /** * * Rolls back the current transaction and restores autocommit mode. * * @return bool True on success, false on failure. * * @see http://php.net/manual/en/pdo.rollback.php * */ public function rollBack(); /** * * Sets a PDO attribute value. * * @param mixed $attribute The PDO::ATTR_* constant. * * @param mixed $value The value for the attribute. * * @return bool * */ public function setAttribute($attribute, $value); /** * * Returns all currently available PDO drivers. * * @return array * */ public static function getAvailableDrivers(); }