Data::connectFromConfig($db)
-
Connects using provided $db configuration.
This library is not exposed by the API allowlist.
Data::applyStrictModes($pdo)
-
This library is not exposed by the API allowlist.
Data::pdoRead()
-
Internal accessor (read)
This library is not exposed by the API allowlist.
Data::pdoWrite()
-
Internal accessor (write)
This library is not exposed by the API allowlist.
Data::fetchRow($sql, $params)
-
Fetch one row or null
This library is not exposed by the API allowlist.
Data::fetchRowWrite($sql, $params)
-
Fetch one row or null using the write connection
This library is not exposed by the API allowlist.
Data::fetchAll($sql, $params)
-
Fetch all rows
This library is not exposed by the API allowlist.
Data::fetchAllWrite($sql, $params)
-
Fetch all rows using the write connection
This library is not exposed by the API allowlist.
Data::execute($sql, $params)
-
Execute a statement (write) -> affected row count
This library is not exposed by the API allowlist.
Data::begin()
-
Begin transaction on write connection
This library is not exposed by the API allowlist.
Data::commit()
-
Commit transaction
This library is not exposed by the API allowlist.
Data::rollBack()
-
Roll back transaction
This library is not exposed by the API allowlist.
Data::lastInsertId()
-
Last insert id
This library is not exposed by the API allowlist.
Data::executeWrite($sql, $params, $autoCommit)
-
Execute a write statement and return a transaction id that can be
tracked via the configured socket signal and logs.
If $autoCommit is true, the statement runs in its own tx.
/
This library is not exposed by the API allowlist.
Data::lastTransactionId()
-
Return last generated transaction id (if any)
This library is not exposed by the API allowlist.
Data::isWriteCompleted($transactionId)
-
Trivial tracker — returns true once notified (always true immediately after)
This library is not exposed by the API allowlist.
Data::shutdown()
-
Close connections
This library is not exposed by the API allowlist.
Data::setSqlErrorHandler($handler)
-
This library is not exposed by the API allowlist.
Data::generateTransactionId()
-
This library is not exposed by the API allowlist.
Data::notifyWriteCompleted($txId, $extra)
-
This library is not exposed by the API allowlist.
Data::handlePdoException($exception, $sql, $params)
-
This library is not exposed by the API allowlist.