IDatabase
in
Table of Contents
- connect() : void
- connects instance to database
- lastInsertId() : int
- returns id of last inserted row
- query() : array<string|int, mixed>
- implements logic to query database
Methods
connect()
connects instance to database
public
connect() : void
Tags
Return values
void —lastInsertId()
returns id of last inserted row
public
lastInsertId() : int
Return values
int —query()
implements logic to query database
public
query(string $queryString[, array<string|int, mixed> $params = [] ]) : array<string|int, mixed>
Parameters
- $queryString : string
- $params : array<string|int, mixed> = []