Table
in package
Database table abstraction
Table of Contents
Properties
Methods
- __construct() : mixed
- __toString() : string
- Convert to sql name
- insert() : PDOStatement|bool
- Insert new line into database table
Properties
$alias
private
string|null
$alias
$db
private
SQL
$db
$table
private
string
$table
Methods
__construct()
public
__construct(SQL $db, string $table[, string|null $alias = null ]) : mixed
Parameters
- $db : SQL
- $table : string
- $alias : string|null = null
__toString()
Convert to sql name
public
__toString() : string
Return values
stringinsert()
Insert new line into database table
public
insert(array<string|int, string|float|int|null> $items) : PDOStatement|bool
Parameters
- $items : array<string|int, string|float|int|null>