Edit
↰
Home
↑
pq-gateway
↑
Gateway
↑
Table
↻
Table::__construct
↲
Attributes
↲
Identity
↲
Relations
↲
Table::__toString
↲
Table::attach
↲
Table::by
↲
Table::create
↲
Table::delete
↲
Table::detach
↲
Table::execute
↲
Table::find
↲
Table::getAttributes
↲
Table::getConnection
↲
Table::getIdentity
↲
Table::getMetadataCache
↲
Table::getName
↲
Table::getQueryExecutor
↲
Table::getQueryWriter
↲
Table::getRelation
↲
Table::getRelations
↲
Table::getRowsetPrototype
↲
Table::notify
↲
Table::of
↲
Table::onResult
↲
Table::resolve
↲
Table::setMetadataCache
↲
Table::setQueryExecutor
↲
Table::setQueryWriter
↲
Table::setRowsetPrototype
↲
Table::update
↲
Table::with
#
void
pq\Gateway\Table::__construct
([
string
$name
=
NULL
[,
pq\Connection
$conn
=
NULL
]])
Create a new table gateway.
Params:
#
Optional
string
$name
#
=
NULL
The table name.
Optional
pq\Connection
$conn
#
=
NULL
The connection (defaults to
pq\Gateway\Table::$defaultConnection
).
Throws:
#
InvalidArgumentException
pq\Exception
Show Comments from Github Discussions