string | $mode | Mode, either 'r' (reading) or 'w' (reading and writing). |
AphrontDatabaseConnection | New database connection. |
string | Connection namespace for cache |
This method is not documented.
mode | $mode | Connection mode. |
AphrontDatabaseConnection|null | Connection, if it exists in cache. |
mode | $mode | Connection mode. |
AphrontDatabaseConnection | $connection | Connection to cache. |
| $force_unique | |
AphrontDatabaseConnection | $connection | Connection to force this object to use. |
This method is not documented.
dictionary | Map of configuration options to values. |
const | $option_name | Option name, one of the CONFIG_* constants. |
mixed | Option value, if configured (null if unavailable). |
int | $id | Numeric ID identifying the object to load. |
obj|null | Identified object, or null if it does not exist. |
dict | Dictionary of all persisted objects of this type, keyed on object ID. |
string | $pattern | queryfx()-style SQL WHERE clause. |
... | | Zero or more conversions. |
dict | Dictionary of matching objects, keyed on ID. |
string | $pattern | queryfx()-style SQL WHERE clause. |
... | | Zero or more conversions. |
obj|null | Matching object, or null if no object matches. |
This method is not documented.
dict | $row | Dictionary of properties, which should be equivalent to selecting a row from the table or calling @{method:getProperties}. |
list | $rows | List of property dictionaries. |
dict | List of constructed objects, keyed on ID. |
This method is not documented.
string | $property | Property name. |
bool | True if the property exists. |
dict | Dictionary of normalized (lowercase) to canonical (original case) property names. |
string|null | Canonical property name, or null if the property does not exist. |
string | $mode | 'r' for read, 'w' for read/write. |
bool | $force_new | True to force a new connection. The connection will not be retrieved from or saved into the connection cache. |
AphrontDatabaseConnection | Lisk connection object. |
dict | Dictionary of object properties. |
This method is not documented.
This method is not documented.
const | $mode | Either "INSERT" or "REPLACE", to force the desired mode. |
bool | true if the record should be inserted |
string | Table name for object storage. |
string | Name of the ID column. |
This method is not documented.
phid | Unique, newly allocated PHID. |
This method is not documented.
string | $field | Canonical field name |
string | $field | Canonical field name |
mixed | $value | Value to write |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
int | $idle_window | Close connections with no activity for this many seconds. |
This method is not documented.
This method is not documented.
This method is not documented.
string | $method | Method name. |
list | $args | Argument vector. |
mixed | get*() methods return the property value. set*() methods return $this. |
AphrontDatabaseConnection | $conn_w | Database where the counter resides. |
string | $counter_name | Counter name to create or increment. |
AphrontDatabaseConnection | $conn_r | Database where the counter resides. |
string | $counter_name | Counter name to read. |
int|null | Current value, or `null` if the counter does not exist. |
AphrontDatabaseConnection | $conn_w | Database where the counter resides. |
string | $counter_name | Counter name to create or overwrite. |
| $counter_value | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
| $application | |
| $database | |
| $mode | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
PhabricatorUser | $viewer | |
DifferentialReviewer | $reviewer | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
| $capability | |
PhabricatorUser | $user | |
This method is not documented.
This method is not documented.
| $capability | |
PhabricatorUser | $viewer | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
PhabricatorRepository | $repository | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
PhabricatorUser | $viewer | |
PhabricatorFlag | $flag | |
This method is not documented.
This method is not documented.
PhabricatorUser | $viewer | |
| $has_draft | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
PhabricatorUser | $viewer | |
| $phid | |
This method is not documented.
This method is not documented.
This method is not documented.
PhabricatorUser | $viewer | |
array | $phids | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
PhabricatorCustomFieldAttachment | $fields | |
This method is not documented.
This method is not documented.
This method is not documented.
PhabricatorDestructionEngine | $engine | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.