Skip to content

class Database

Oliver edited this page Apr 25, 2020 · 1 revision

www/includes/pdo.inc.example.php


Database

Package

Default

Overview

Public Properties

No public properties found

Constants

No constants found

Public Methods

__construct() | beginTransaction() | bind() | cancelTransaction() | debugDumpParams() | endTransaction() | execute() | lastInsertId() | query() | resultset() | rowCount() | single() |

Properties

dbh

private $dbh

dbname

private $dbname

error

private $error

host

private $host

pass

private $pass

stmt

private $stmt

user

private $user

Methods

__construct()

public __construct() : mixed

beginTransaction()

Transactions allow multiple changes to a database all in one batch.

public beginTransaction() : mixed

bind()

public bind(mixed $param, mixed $value, mixed $type = null) : mixed

cancelTransaction()

public cancelTransaction() : mixed

debugDumpParams()

public debugDumpParams() : mixed

endTransaction()

public endTransaction() : mixed

execute()

public execute() : mixed

lastInsertId()

public lastInsertId() : mixed

query()

public query(mixed $query) : mixed

resultset()

public resultset() : mixed

rowCount()

public rowCount() : mixed

single()

public single() : mixed


\ » Classes » Database

Clone this wiki locally