Below, is a summary of all classes and their parameters's typehinting status. .
| Method | Argument | Typehint | Default | |||||
| class AlreadyInTransactionException | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| class InvalidConfigPropertyException | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| class InvalidConfigPropertyValueException | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| class NotInTransactionException | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| interface IColumn | ||||||||
| Method | Argument | Typehint | Default | |||||
| name | ||||||||
| type | ||||||||
| null | ||||||||
| notNull | ||||||||
| defaultValue | ||||||||
| collation | ||||||||
| attributesExpression | ||||||||
| onUpdateCurrentTimestampExpression | ||||||||
| comment | ||||||||
| autoIncrement | ||||||||
| interface IColumnFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| char | ||||||||
| varchar | ||||||||
| tinyint | ||||||||
| smallint | ||||||||
| mediumint | ||||||||
| int | ||||||||
| bigint | ||||||||
| decimal | ||||||||
| createDecimal | ||||||||
| date | ||||||||
| time | ||||||||
| year | ||||||||
| dateTime | ||||||||
| timeStamp | ||||||||
| text | ||||||||
| enum | ||||||||
| set | ||||||||
| json | ||||||||
| bool | ||||||||
| interface IColumnsSource | ||||||||
| Method | Argument | Typehint | Default | |||||
| column | ||||||||
| interface IForeignKey | ||||||||
| Method | Argument | Typehint | Default | |||||
| getName | ||||||||
| getTargetTable | ||||||||
| getTargetColumn | ||||||||
| getSourceColumn | ||||||||
| name | ||||||||
| column | ||||||||
| on | ||||||||
| onUpdate | ||||||||
| onUpdateCascade | ||||||||
| onUpdateRestrict | ||||||||
| onUpdateSetNull | ||||||||
| onDelete | ||||||||
| onDeleteCascade | ||||||||
| onDeleteRestrict | ||||||||
| onDeleteSetNull | ||||||||
| assemble | string | |||||||
| interface IIndexable | ||||||||
| Method | Argument | Typehint | Default | |||||
| index | ||||||||
| unique | ||||||||
| interface ITablePart | ||||||||
| Method | Argument | Typehint | Default | |||||
| assemble | string | |||||||
| interface IStatementResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| rowsCount | ||||||||
| interface ICmdController | ||||||||
| Method | Argument | Typehint | Default | |||||
| lastId | ||||||||
| startTransaction | ||||||||
| commit | ||||||||
| rollback | ||||||||
| isInTransaction | ||||||||
| describe | ||||||||
| rename | ||||||||
| rotate | ||||||||
| interface ICmdCreate | ||||||||
| Method | Argument | Typehint | Default | |||||
| getName | ||||||||
| temporary | ||||||||
| db | ||||||||
| table | ||||||||
| ifNotExists | ||||||||
| engine | ||||||||
| innoDB | ||||||||
| charset | ||||||||
| primary | ||||||||
| foreignKey | ||||||||
| comment | ||||||||
| like | ||||||||
| asQuery | ||||||||
| autoIncrement | ||||||||
| interface ICmdDB | ||||||||
| Method | Argument | Typehint | Default | |||||
| listTables | ||||||||
| dropTable | ||||||||
| showCreateTable | ||||||||
| getDatabaseName | ||||||||
| interface ICmdDelete | ||||||||
| Method | Argument | Typehint | Default | |||||
| from | ||||||||
| interface ICmdDirect | ||||||||
| Method | Argument | Typehint | Default | |||||
| command | ||||||||
| interface ICmdInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| ignore | ||||||||
| into | ||||||||
| defaultValues | ||||||||
| values | ||||||||
| valuesBulk | ||||||||
| valuesExp | ||||||||
| asSelect | ||||||||
| interface ICmdLock | ||||||||
| Method | Argument | Typehint | Default | |||||
| lock | ||||||||
| unlock | ||||||||
| safe | ||||||||
| interface ICmdMultiQuery | ||||||||
| Method | Argument | Typehint | Default | |||||
| add | ||||||||
| executeAll | ||||||||
| executeIterator | ||||||||
| executeWithCallback | ||||||||
| interface ICmdTransaction | ||||||||
| Method | Argument | Typehint | Default | |||||
| startTransaction | bool | |||||||
| commit | bool | |||||||
| rollback | bool | |||||||
| isInTransaction | bool | |||||||
| executeInTransaction | ||||||||
| interface ICmdUpdate | ||||||||
| Method | Argument | Typehint | Default | |||||
| ignore | ||||||||
| table | ||||||||
| interface ICmdUpsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| setUseNewValues | ||||||||
| setDuplicateKeys | ||||||||
| interface IDml | ||||||||
| Method | Argument | Typehint | Default | |||||
| executeDml | ||||||||
| exec | ||||||||
| interface IMySqlCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| setConnection | void | |||||||
| __toString | ||||||||
| interface IMySqlCommandConstructor | ||||||||
| Method | Argument | Typehint | Default | |||||
| bind | array | |||||||
| assemble | string | |||||||
| execute | ||||||||
| interface IQuery | ||||||||
| Method | Argument | Typehint | Default | |||||
| query | ||||||||
| queryNumeric | ||||||||
| queryAll | ||||||||
| queryRow | ||||||||
| queryColumn | ||||||||
| queryScalar | ||||||||
| queryInt | int|? | |||||||
| queryFloat | float|? | |||||||
| queryBool | bool|? | |||||||
| queryExists | ||||||||
| queryCount | ||||||||
| queryWithCallback | ||||||||
| queryIterator | ||||||||
| queryIteratorBulk | ||||||||
| queryObject | ||||||||
| queryObjects | array | |||||||
| queryValuesMap | ||||||||
| queryValuesGroup | ||||||||
| queryRecordsMap | ||||||||
| queryRecordsGroup | ||||||||
| queryMap | ||||||||
| queryGroupBy | Map | |||||||
| queryMapRow | ||||||||
| interface ISelect | ||||||||
| Method | Argument | Typehint | Default | |||||
| distinct | ||||||||
| from | ||||||||
| join | ||||||||
| leftJoin | ||||||||
| rightJoin | ||||||||
| groupBy | ||||||||
| withRollup | ||||||||
| having | ||||||||
| union | ||||||||
| unionAll | ||||||||
| forUpdate | ||||||||
| lockInShareMode | ||||||||
| __clone | ||||||||
| __toString | ||||||||
| interface IWithColumns | ||||||||
| Method | Argument | Typehint | Default | |||||
| column | ||||||||
| columns | ||||||||
| columnsExp | ||||||||
| columnAs | ||||||||
| columnAsExp | ||||||||
| interface IWithExtendedWhere | ||||||||
| Method | Argument | Typehint | Default | |||||
| whereBetween | ||||||||
| whereNotEqual | ||||||||
| whereLess | ||||||||
| whereLessOrEqual | ||||||||
| whereGreater | ||||||||
| whereGreaterOrEqual | ||||||||
| interface IWithLimit | ||||||||
| Method | Argument | Typehint | Default | |||||
| limit | ||||||||
| limitBy | ||||||||
| page | ||||||||
| orderBy | ||||||||
| orderByAsc | ||||||||
| orderByDesc | ||||||||
| interface IWithSet | ||||||||
| Method | Argument | Typehint | Default | |||||
| set | ||||||||
| setExp | ||||||||
| setCase | ||||||||
| setCaseExp | ||||||||
| interface IWithWhere | ||||||||
| Method | Argument | Typehint | Default | |||||
| byId | ||||||||
| byField | ||||||||
| byFields | ||||||||
| where | ||||||||
| whereIn | ||||||||
| whereNotIn | ||||||||
| whereExists | ||||||||
| whereNotExists | ||||||||
| whereLike | ||||||||
| whereNotLike | ||||||||
| whereContains | ||||||||
| whereStartsWith | ||||||||
| whereEndsWith | ||||||||
| class ConfigCollection | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getAllConnections | array | |||||||
| add | ||||||||
| get | MySqlConnectionConfig | |||||||
| has | bool | |||||||
| class ConfigLoadersCollection | ||||||||
| Method | Argument | Typehint | Default | |||||
| add | ||||||||
| getConfig | ||||||||
| hasConfig | ||||||||
| class ConfigParser | ||||||||
| Method | Argument | Typehint | Default | |||||
| getValue | ||||||||
| getBoolean | bool | |||||||
| getProperties | array | |||||||
| parse | ||||||||
| class ConfigParserTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| test_PassEmptyArray_EmptyConfigSet | ||||||||
| test_FieldCaseIsIgnored | ||||||||
| test_PortSet | ||||||||
| test_VersionSet | ||||||||
| test_HostSet | ||||||||
| test_PassSet | ||||||||
| test_DBSet | ||||||||
| test_FlagsSet | ||||||||
| test_UserSet | ||||||||
| test_InvalidPropertyPassed_ExceptionThrown | ||||||||
| test_InvalidPropertyValuePassed_ExceptionThrown | ||||||||
| test_ValidPropertyPassed_PropertySet | ||||||||
| test_DefaultPropertyValuesSet | ||||||||
| interface IConfigLoader | ||||||||
| Method | Argument | Typehint | Default | |||||
| getConfig | ||||||||
| hasConfig | ||||||||
| class MySqlConnectionConfig | ||||||||
| Method | Argument | Typehint | Default | |||||
| __debugInfo | ||||||||
| _setup | ||||||||
| getPDOConnectionString | ||||||||
| class AbstractMySqlExecuteDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| child | ||||||||
| init | ||||||||
| execute | ||||||||
| interface IMySqlConnection | ||||||||
| Method | Argument | Typehint | Default | |||||
| setConfig | ||||||||
| close | ||||||||
| isOpen | ||||||||
| version | string | |||||||
| getProperty | string | |||||||
| execute | ||||||||
| interface IMySqlExecuteDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| init | ||||||||
| interface IMySqlExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| execute | ||||||||
| interface ICountConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| countByField | ||||||||
| countByFields | ||||||||
| existsByField | bool | |||||||
| existsByFields | bool | |||||||
| interface IDeleteConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| deleteByField | ||||||||
| deleteByFields | ||||||||
| interface IInsertConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| insertRow | ||||||||
| insertAll | ||||||||
| insertAllIntoFields | ||||||||
| interface ISelectConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| oneByField | ||||||||
| firstByField | ||||||||
| allByField | ||||||||
| nByField | ||||||||
| oneByFields | ||||||||
| firstByFields | ||||||||
| allByFields | ||||||||
| nByFields | ||||||||
| all | ||||||||
| interface IUpdateConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| updateByRowFields | ||||||||
| updateByFields | ||||||||
| interface IUpsertConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| upsertByKeys | ||||||||
| upsertAllByKeys | ||||||||
| upsertByValues | ||||||||
| upsertAllByValues | ||||||||
| trait TCountHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| countByField | ||||||||
| existsByField | bool | |||||||
| trait TDeleteHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| deleteByField | ?int | |||||||
| trait TInsertHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| insertRow | ?int | |||||||
| trait TSelectHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| oneByField | ||||||||
| firstByField | ||||||||
| allByField | ||||||||
| nByField | ||||||||
| oneByFields | ||||||||
| firstByFields | ||||||||
| trait TUpdateHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| updateByRowFields | ?int | |||||||
| trait TUpsertHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| upsertByKeys | ||||||||
| upsertByValues | ||||||||
| interface IRowMap | ||||||||
| Method | Argument | Typehint | Default | |||||
| toRow | array | |||||||
| toRows | array | |||||||
| toObject | ||||||||
| toObjects | array | |||||||
| trait TRowMap | ||||||||
| Method | Argument | Typehint | Default | |||||
| toRows | array | |||||||
| toObjects | array | |||||||
| interface IObjectInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| insertObjects | ||||||||
| interface IObjectSelect | ||||||||
| Method | Argument | Typehint | Default | |||||
| selectObjectByFields | ||||||||
| selectObjectByField | ||||||||
| selectFirstObjectByFields | ||||||||
| selectFirstObjectByField | ||||||||
| selectObjectsByFields | ||||||||
| selectObjects | ||||||||
| interface IObjectUpdate | ||||||||
| Method | Argument | Typehint | Default | |||||
| updateObject | ||||||||
| interface IObjectUpsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| upsertObjectsByKeys | ||||||||
| upsertObjectsForValues | ||||||||
| trait TObjectSelectHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| selectObjectByField | ||||||||
| selectFirstObjectByField | ||||||||
| interface IIdDelete | ||||||||
| Method | Argument | Typehint | Default | |||||
| deleteById | ||||||||
| interface IIdLoad | ||||||||
| Method | Argument | Typehint | Default | |||||
| loadById | ||||||||
| interface IIdSave | ||||||||
| Method | Argument | Typehint | Default | |||||
| save | ||||||||
| interface IIdentityDelete | ||||||||
| Method | Argument | Typehint | Default | |||||
| delete | ||||||||
| interface IIdentityInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| insert | ||||||||
| interface IIdentityUpdate | ||||||||
| Method | Argument | Typehint | Default | |||||
| update | ||||||||
| interface IIdentityUpsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| upsert | ||||||||
| interface IIdGenerator | ||||||||
| Method | Argument | Typehint | Default | |||||
| generate | array | |||||||
| release | ||||||||
| interface IJoinConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| loaded | ||||||||
| inserted | ||||||||
| updated | ||||||||
| upserted | ||||||||
| saved | ||||||||
| interface IPolymorphicConfig | ||||||||
| Method | Argument | Typehint | Default | |||||
| getConnector | IGenericObjectConnector | |||||||
| getObjectConnector | IGenericObjectConnector | |||||||
| getConnectors | array | |||||||
| sortObjectsByGroups | array | |||||||
| sortExpressionsByGroups | array | |||||||
| expressionsIterator | iterable | |||||||
| objectsIterator | iterable | |||||||
| interface IInsertHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| setInsertProvider | IInsertHandler | |||||||
| setIdProperty | IInsertHandler | |||||||
| insert | ||||||||
| interface ICmdObjectSelect | ||||||||
| Method | Argument | Typehint | Default | |||||
| __clone | ||||||||
| __toString | ||||||||
| interface IObjectQuery | ||||||||
| Method | Argument | Typehint | Default | |||||
| queryAll | ||||||||
| queryFirst | ||||||||
| queryOne | ||||||||
| queryWithCallback | ||||||||
| queryIterator | iterable | |||||||
| queryMapRow | ||||||||
| queryGroupBy | Map | |||||||
| interface IObjectSelector | ||||||||
| Method | Argument | Typehint | Default | |||||
| all | ||||||||
| one | ||||||||
| first | ||||||||
| withCallback | bool | |||||||
| iterator | iterable | |||||||
| map | ||||||||
| groupBy | Map | |||||||
| interface IORMConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| setObjectMap | ||||||||
| interface IQueryConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| query | ICmdObjectSelect | |||||||
| trait TGenericObjectConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| selectOneByFields | ||||||||
| selectOneByField | ||||||||
| selectFirstByFields | ||||||||
| selectFirstByField | ||||||||
| selectAllByFields | ||||||||
| selectAll | ||||||||
| interface ISingleTableConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| setTable | ISingleTableConnector | |||||||
| interface ITableNameConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| select | Command\ICmdSelect | |||||||
| update | Command\ICmdUpdate | |||||||
| insert | Command\ICmdInsert | |||||||
| delete | Command\ICmdDelete | |||||||
| upsert | Command\ICmdUpsert | |||||||
| name | string | |||||||
| __toString | ||||||||
| interface IConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| setConnector | IConnector | |||||||
| interface IGenericCRUDConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| select | Generic\ISelectConnector | |||||||
| delete | Generic\IDeleteConnector | |||||||
| update | Generic\IUpdateConnector | |||||||
| upsert | Generic\IUpsertConnector | |||||||
| insert | Generic\IInsertConnector | |||||||
| count | Generic\ICountConnector | |||||||
| class MySqlException | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getSqlCode | ||||||||
| createFromPDOException | ||||||||
| createFromPDOInfo | ||||||||
| create | ||||||||
| class AbstractQueryEnrichment | ||||||||
| Method | Argument | Typehint | Default | |||||
| getSource | ||||||||
| setSource | ||||||||
| queryAll | ||||||||
| query | ||||||||
| queryNumeric | ||||||||
| queryRow | ||||||||
| queryColumn | ||||||||
| queryScalar | ||||||||
| queryInt | int|? | |||||||
| queryFloat | float|? | |||||||
| queryBool | bool|? | |||||||
| queryExists | ||||||||
| queryCount | ||||||||
| queryWithCallback | ||||||||
| queryIterator | ||||||||
| queryIteratorBulk | ||||||||
| queryMap | ||||||||
| queryGroupBy | Map | |||||||
| queryMapRow | ||||||||
| queryObject | ||||||||
| queryObjects | array | |||||||
| interface IQueryEnrichment | ||||||||
| Method | Argument | Typehint | Default | |||||
| setSource | ||||||||
| class Column | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| name | ||||||||
| type | ||||||||
| null | ||||||||
| notNull | ||||||||
| defaultValue | ||||||||
| collation | ||||||||
| attributesExpression | ||||||||
| onUpdateCurrentTimestampExpression | ||||||||
| comment | ||||||||
| autoIncrement | ||||||||
| assemble | string | |||||||
| class ColumnFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| create | ||||||||
| __construct | ||||||||
| char | ||||||||
| varchar | ||||||||
| tinyint | ||||||||
| smallint | ||||||||
| mediumint | ||||||||
| int | ||||||||
| bigint | ||||||||
| date | ||||||||
| time | ||||||||
| year | ||||||||
| dateTime | ||||||||
| timeStamp | ||||||||
| text | ||||||||
| enum | ||||||||
| set | ||||||||
| json | ||||||||
| bool | ||||||||
| decimal | ||||||||
| createDecimal | ||||||||
| class ColumnsCollection | ||||||||
| Method | Argument | Typehint | Default | |||||
| add | ||||||||
| isEmpty | ||||||||
| assemble | string | |||||||
| class ForeignKey | ||||||||
| Method | Argument | Typehint | Default | |||||
| getName | ||||||||
| getTargetTable | ||||||||
| getTargetColumn | ||||||||
| getSourceColumn | ||||||||
| name | ||||||||
| column | ||||||||
| on | ||||||||
| onUpdate | ||||||||
| onUpdateCascade | ||||||||
| onUpdateRestrict | ||||||||
| onUpdateSetNull | ||||||||
| onDelete | ||||||||
| onDeleteCascade | ||||||||
| onDeleteRestrict | ||||||||
| onDeleteSetNull | ||||||||
| assemble | string | |||||||
| interface IColumnsTarget | ||||||||
| Method | Argument | Typehint | Default | |||||
| add | ||||||||
| class KeysCollection | ||||||||
| Method | Argument | Typehint | Default | |||||
| foreignKey | ||||||||
| index | ||||||||
| unique | ||||||||
| primary | ||||||||
| assemble | string | |||||||
| class StatementResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| query | ||||||||
| queryNumeric | ||||||||
| queryAll | ||||||||
| queryRow | ||||||||
| queryColumn | ||||||||
| queryScalar | ||||||||
| queryInt | ?int | |||||||
| queryFloat | float|? | |||||||
| queryBool | ?bool | |||||||
| queryExists | ||||||||
| queryCount | ||||||||
| queryWithCallback | ||||||||
| queryIterator | ||||||||
| queryIteratorBulk | ||||||||
| queryMap | ||||||||
| queryObject | ||||||||
| queryObjects | array | |||||||
| queryMapRow | ||||||||
| rowsCount | ||||||||
| queryGroupBy | Map | |||||||
| class AbstractCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| getConn | IMySqlConnection|? | |||||||
| getVersion | string | |||||||
| setConnection | void | |||||||
| execute | ||||||||
| __toString | ||||||||
| class Assembly | ||||||||
| Method | Argument | Typehint | Default | |||||
| appendWhere | ||||||||
| appendOrderBy | ||||||||
| appendSet | ||||||||
| appendLimit | ||||||||
| append | ||||||||
| appendDirectly | ||||||||
| placeholder | ||||||||
| class CmdController | ||||||||
| Method | Argument | Typehint | Default | |||||
| assemble | string | |||||||
| bind | array | |||||||
| lastId | ||||||||
| startTransaction | ||||||||
| commit | ||||||||
| rollback | ||||||||
| isInTransaction | ||||||||
| describe | ||||||||
| rename | ||||||||
| rotate | ||||||||
| class CmdCreate | ||||||||
| Method | Argument | Typehint | Default | |||||
| getAsExpression | ||||||||
| getPartIfSet | ||||||||
| __construct | ||||||||
| getName | ||||||||
| temporary | ||||||||
| db | ||||||||
| table | ||||||||
| ifNotExists | ||||||||
| engine | ||||||||
| innoDB | ||||||||
| charset | ||||||||
| comment | ||||||||
| bind | array | |||||||
| assemble | string | |||||||
| like | ||||||||
| asQuery | ||||||||
| autoIncrement | ||||||||
| class CmdDB | ||||||||
| Method | Argument | Typehint | Default | |||||
| setForeignKeyCheck | ||||||||
| executeDmlCommand | ||||||||
| setCommand | ||||||||
| assemble | string | |||||||
| bind | array | |||||||
| listTables | ||||||||
| dropTable | ||||||||
| showCreateTable | ||||||||
| getDatabaseName | ||||||||
| class CmdDelete | ||||||||
| Method | Argument | Typehint | Default | |||||
| getDefaultParts | ||||||||
| generate | ||||||||
| from | ||||||||
| where | ||||||||
| _orderBy | ||||||||
| limit | IWithLimit | |||||||
| class CmdDirect | ||||||||
| Method | Argument | Typehint | Default | |||||
| asScalarSubQuery | ||||||||
| bind | array | |||||||
| assemble | string | |||||||
| command | ||||||||
| queryExists | ||||||||
| queryCount | ||||||||
| class CmdInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| fixDefaultValues | ||||||||
| appendByField | ||||||||
| appendByPosition | ||||||||
| getDefaultParts | ||||||||
| generate | ||||||||
| ignore | ||||||||
| into | ||||||||
| defaultValues | ||||||||
| values | ||||||||
| valuesBulk | ||||||||
| valuesExp | ||||||||
| asSelect | ||||||||
| getFields | ||||||||
| class CmdLock | ||||||||
| Method | Argument | Typehint | Default | |||||
| bind | array | |||||||
| assemble | string | |||||||
| lock | ||||||||
| unlock | ||||||||
| safe | ||||||||
| execute | ||||||||
| class CmdMultiQuery | ||||||||
| Method | Argument | Typehint | Default | |||||
| add | ||||||||
| executeAll | ||||||||
| checkForError | ||||||||
| executeIterator | ||||||||
| executeWithCallback | ||||||||
| bind | array | |||||||
| assemble | string | |||||||
| class CmdMultiQueryTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| insert | ||||||||
| insertString | string | |||||||
| bulk | ||||||||
| test_bulk_TwoMySqlCommandConstructorAdded | ||||||||
| test_bulk_TwoMySqlCommandConstructorAddedAsArray | ||||||||
| test_bulk_TwoStringsAdded | ||||||||
| test_bulk_DifferentSourceAdded | ||||||||
| class CmdSelect | ||||||||
| Method | Argument | Typehint | Default | |||||
| fromSubQuery | ||||||||
| joinWith | ||||||||
| addColumn | ||||||||
| getDefaultParts | ||||||||
| generate | ||||||||
| debug | array | |||||||
| distinct | ||||||||
| from | ||||||||
| join | ||||||||
| leftJoin | ||||||||
| rightJoin | ||||||||
| groupBy | ||||||||
| having | ||||||||
| _orderBy | ||||||||
| withRollup | ||||||||
| union | ||||||||
| unionAll | ||||||||
| forUpdate | ||||||||
| lockInShareMode | ||||||||
| where | ||||||||
| limit | IWithLimit | |||||||
| queryExists | ||||||||
| queryCount | ||||||||
| __clone | ||||||||
| class CmdSelectTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| select | ||||||||
| test_column_OneColumnPassed | ||||||||
| test_column_ColumnPassedNumberOfTimes | ||||||||
| test_column_NumberOfColumnsPassed | ||||||||
| test_columns_OneColumnPassed | ||||||||
| test_columns_OneColumnPassedAsSingleString | ||||||||
| test_columns_NumberOfColumnsPassed | ||||||||
| test_columns_TableNamePrefixUsed | ||||||||
| test_columns_TableNamePrefixWithStringColumn | ||||||||
| class CmdTransaction | ||||||||
| Method | Argument | Typehint | Default | |||||
| executeDirect | bool | |||||||
| executeCommandConstructorSafe | ||||||||
| executeCommandConstructorArraySafe | ||||||||
| executeCallbackSafe | ||||||||
| startTransaction | bool | |||||||
| commit | bool | |||||||
| rollback | bool | |||||||
| isInTransaction | bool | |||||||
| executeInTransaction | ||||||||
| __toString | ||||||||
| class CmdTransactionTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| mockConnection | IMySqlConnection | |||||||
| mockConnectionWithResult | ||||||||
| mockConnectionExpect | ||||||||
| getSubject | ||||||||
| test_startTransaction_CommandExecuted | ||||||||
| test_startTransaction_CalledTwice_ErrorThrown | ||||||||
| test_commit_CommandExecuted | ||||||||
| test_commit_NotInTransaction_ErrorThrown | ||||||||
| test_rollback_NotInTransaction_ReturnTrue | ||||||||
| test_rollback_NotInTransaction_CommandExecuted | ||||||||
| test_rollback_AlwaysReturnTrue | ||||||||
| test_rollback_CommandExecuted | ||||||||
| test_isInTransaction_ByDefault_False | ||||||||
| test_isInTransaction_AfterNewTransaction_True | ||||||||
| test_isInTransaction_AfterCommit_False | ||||||||
| test_isInTransaction_AfterRollback_False | ||||||||
| test_isInTransaction_ExceptionInCommit_False | ||||||||
| test_isInTransaction_ExceptionInRollback_False | ||||||||
| test_isInTransaction_ExceptionBecauseStartTransactionCalledTwice_True | ||||||||
| class CmdUpdate | ||||||||
| Method | Argument | Typehint | Default | |||||
| getDefaultParts | ||||||||
| generate | ||||||||
| ignore | ||||||||
| table | ||||||||
| where | ||||||||
| _orderBy | ||||||||
| limit | IWithLimit | |||||||
| _set | ||||||||
| class CmdUpsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| getDefaultParts | ||||||||
| generate | ||||||||
| setUseNewValues | ||||||||
| setDuplicateKeys | ||||||||
| _set | ||||||||
| class PartsCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| appendBind | ||||||||
| combineBindParams | ||||||||
| appendPart | ||||||||
| setPart | ||||||||
| getPart | ||||||||
| getBind | ||||||||
| getDefaultParts | ||||||||
| generate | ||||||||
| __construct | ||||||||
| bind | array | |||||||
| assemble | string | |||||||
| class AbstractErrorValidator | ||||||||
| Method | Argument | Typehint | Default | |||||
| isMessageMatch | ||||||||
| __construct | ||||||||
| config | ||||||||
| isHandled | ||||||||
| interface IErrorValidator | ||||||||
| Method | Argument | Typehint | Default | |||||
| isHandled | ||||||||
| config | ||||||||
| class ConnectionFailed | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| isHandled | ||||||||
| class DeadlockFound | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| isHandled | ||||||||
| class ValidatorsSet | ||||||||
| Method | Argument | Typehint | Default | |||||
| add | ||||||||
| getConfigFor | ||||||||
| class CallbackDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setPreExecuteCallback | ||||||||
| setPostExecuteCallback | ||||||||
| execute | ||||||||
| class RetryOnErrorDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| getConfig | ||||||||
| retry | ||||||||
| isSameError | ||||||||
| __construct | ||||||||
| addValidators | ||||||||
| execute | ||||||||
| createSuggested | RetryOnErrorDecorator | |||||||
| class SilentErrorDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setCallback | ||||||||
| execute | ||||||||
| class TimerDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| measure | void | |||||||
| __construct | ||||||||
| setCallback | ||||||||
| execute | ||||||||
| class ConnectionBuilder | ||||||||
| Method | Argument | Typehint | Default | |||||
| getExecutors | IMySqlExecutor | |||||||
| setDecorators | void | |||||||
| create | IMySqlConnection | |||||||
| class MySqlConnection | ||||||||
| Method | Argument | Typehint | Default | |||||
| getMysqlBool | int | |||||||
| openConnection | void | |||||||
| bindParams | void | |||||||
| __destruct | ||||||||
| setConfig | void | |||||||
| close | void | |||||||
| isOpen | bool | |||||||
| version | string | |||||||
| getProperty | string | |||||||
| execute | ||||||||
| class MySqlConnectionDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setConfig | ||||||||
| close | ||||||||
| isOpen | ||||||||
| version | string | |||||||
| getProperty | string | |||||||
| execute | ||||||||
| class SelectDecoratorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| mockIMySqlConnector | IMySqlConnector | |||||||
| subject | SelectDecorator | |||||||
| test_ReturnSelf | ||||||||
| assertMethod | ||||||||
| assertMethodRecalls | ||||||||
| test_distinct | ||||||||
| test_from | ||||||||
| test_join | ||||||||
| test_leftJoin | ||||||||
| test_rightJoin | ||||||||
| test_groupBy | ||||||||
| test_having | ||||||||
| test_union | ||||||||
| test_unionAll | ||||||||
| test_where | ||||||||
| test_limit | ||||||||
| test_withRollup | ||||||||
| test_forUpdate | ||||||||
| test_lockInShareMode | ||||||||
| test_byField | ||||||||
| test_byFields | ||||||||
| test_whereIn | ||||||||
| test_whereExists | ||||||||
| test_whereNotExists | ||||||||
| test_limitBy | ||||||||
| test_page | ||||||||
| test_orderBy | ||||||||
| test_column | ||||||||
| test_columns | ||||||||
| test_columnsExp | ||||||||
| test_columnAs | ||||||||
| test_columnAsExp | ||||||||
| trait TCountConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getCountConnector | ICountConnector | |||||||
| countByFields | ||||||||
| existsByFields | bool | |||||||
| countByField | ||||||||
| existsByField | bool | |||||||
| class TCountConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| decoratedClass | string | |||||||
| assertMethodCalled | void | |||||||
| test_SameConnectorUsed | ||||||||
| test_Sanity | ||||||||
| class TCountConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getCountConnector | ||||||||
| __construct | ||||||||
| override | ||||||||
| get | ||||||||
| trait TDeleteConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getDeleteConnector | IDeleteConnector | |||||||
| deleteByField | ||||||||
| deleteByFields | ||||||||
| class TDeleteConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| decoratedClass | string | |||||||
| assertMethodCalled | void | |||||||
| test_SameConnectorUsed | ||||||||
| test_Sanity | ||||||||
| class TDeleteConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getDeleteConnector | ||||||||
| __construct | ||||||||
| override | ||||||||
| get | ||||||||
| trait TInsertConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getInsertConnector | IInsertConnector | |||||||
| insertRow | ||||||||
| insertAll | ||||||||
| insertAllIntoFields | ||||||||
| class TInsertConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| decoratedClass | string | |||||||
| assertMethodCalled | void | |||||||
| test_SameConnectorUsed | ||||||||
| test_Sanity | ||||||||
| class TInsertConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getInsertConnector | ||||||||
| __construct | ||||||||
| override | ||||||||
| get | ||||||||
| trait TSelectConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getSelectConnector | ISelectConnector | |||||||
| oneByField | ||||||||
| firstByField | ||||||||
| allByField | ||||||||
| nByField | ||||||||
| oneByFields | ||||||||
| firstByFields | ||||||||
| allByFields | ||||||||
| nByFields | ||||||||
| all | ||||||||
| class TSelectConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| decoratedClass | string | |||||||
| assertMethodCalled | void | |||||||
| test_SameConnectorUsed | ||||||||
| test_Sanity | ||||||||
| class TSelectConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getSelectConnector | ||||||||
| __construct | ||||||||
| override | ||||||||
| get | ||||||||
| trait TUpdateConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getUpdateConnector | IUpdateConnector | |||||||
| updateByRowFields | ||||||||
| updateByFields | ||||||||
| class TUpdateConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| decoratedClass | string | |||||||
| assertMethodCalled | void | |||||||
| test_SameConnectorUsed | ||||||||
| test_Sanity | ||||||||
| class TUpdateConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getUpdateConnector | ||||||||
| __construct | ||||||||
| override | ||||||||
| get | ||||||||
| trait TUpsertConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getUpsertConnector | IUpsertConnector | |||||||
| upsertByKeys | ||||||||
| upsertAllByKeys | ||||||||
| upsertByValues | ||||||||
| upsertAllByValues | ||||||||
| class TUpsertConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| decoratedClass | string | |||||||
| assertMethodCalled | void | |||||||
| test_SameConnectorUsed | ||||||||
| test_Sanity | ||||||||
| class TUpsertConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getUpsertConnector | ||||||||
| __construct | ||||||||
| override | ||||||||
| get | ||||||||
| class CountConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| countByFields | ||||||||
| existsByFields | bool | |||||||
| class CountConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| mockSelect | ||||||||
| mockAbstractTableConnector | ||||||||
| mockData | ||||||||
| setUp | ||||||||
| test_byFields | ||||||||
| test_byField | ||||||||
| test_existsByFields_ReturnTrue | ||||||||
| test_existsByFields_ReturnFalse | ||||||||
| test_existsByField_ReturnTrue | ||||||||
| test_existsByField_ReturnFalse | ||||||||
| class DeleteConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| deleteByFields | ||||||||
| class DeleteConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| mockDelete | ||||||||
| mockAbstractTableConnector | ||||||||
| mockData | ||||||||
| setUp | ||||||||
| test_byFields_NoLimit | ||||||||
| test_byFields_WithLimit | ||||||||
| test_byField_NoLimit | ||||||||
| test_byField_WithLimit | ||||||||
| class InsertConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| doInsert | ||||||||
| insertAll | ||||||||
| insertAllIntoFields | ||||||||
| class InsertConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| test_insertRow_RowInserted | ||||||||
| test_insertRow_CountReturned | ||||||||
| test_insertRow_RawAlreadyExists | ||||||||
| test_insertRow_RawAlreadyExistsWithIgnoreFlag_NoError | ||||||||
| test_insertAll_RowsInserted | ||||||||
| test_insertAll_CountReturned | ||||||||
| test_insertAll_RawAlreadyExists | ||||||||
| test_insertAll_RawAlreadyExistsWithIgnoreFlag_NoError | ||||||||
| test_insertAllIntoFields_RowsInserted | ||||||||
| test_insertAllIntoFields_CountReturned | ||||||||
| test_insertAllIntoFields_PassedFieldsUsed | ||||||||
| test_insertAllIntoFields_RawAlreadyExists | ||||||||
| test_insertAllIntoFields_RawAlreadyExistsWithIgnoreFlag_NoError | ||||||||
| class SelectConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| allByFields | ||||||||
| nByFields | ||||||||
| all | ||||||||
| class SelectConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | SelectConnector | |||||||
| test_oneByField_NotFound_ReturnNull | ||||||||
| test_oneByField_RowFoundAndReturned | ||||||||
| test_oneByField_NumberOfRowsFound_ExceptionThrown | ||||||||
| test_firstByField_NotFound_ReturnNull | ||||||||
| test_firstByField_RowFoundAndReturned | ||||||||
| test_firstByField_NumberOfRowsFound_FirstRowReturned | ||||||||
| test_allByField_NotFound_ReturnEmptyArray | ||||||||
| test_allByField_RowFoundAndReturned | ||||||||
| test_allByField_NumberOfRowsFound_AllRowsReturned | ||||||||
| test_nByField_NotFound_ReturnEmptyArray | ||||||||
| test_nByField_LessRowsFoundThenRequested | ||||||||
| test_nByField_MoreRowsFoundThenRequested | ||||||||
| test_oneByFields_NotFound_ReturnNull | ||||||||
| test_oneByFields_RowFoundAndReturned | ||||||||
| test_oneByFields_NumberOfRowsFound_ExceptionThrown | ||||||||
| test_firstByFields_NotFound_ReturnNull | ||||||||
| test_firstByFields_RowFoundAndReturned | ||||||||
| test_firstByFields_NumberOfRowsFound_FirstRowReturned | ||||||||
| test_allByFields_NotFound_ReturnEmptyArray | ||||||||
| test_allByFields_RowFoundAndReturned | ||||||||
| test_allByFields_NumberOfRowsFound_AllRowsReturned | ||||||||
| test_nByFields_NotFound_ReturnEmptyArray | ||||||||
| test_nByFields_LessRowsFoundThenRequested | ||||||||
| test_nByFields_MoreRowsFoundThenRequested | ||||||||
| test_all_EmptyTable_ReturnEmptyArray | ||||||||
| test_all_AllRowsSelect | ||||||||
| class UpdateConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| updateByFields | ||||||||
| class UpdateConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | UpdateConnector | |||||||
| row | ||||||||
| test_updateByRowFields_EmptyTable_NothingUpdated | ||||||||
| test_updateByRowFields_NoneMatchingRow_RowNotUpdated | ||||||||
| test_updateByRowFields_MatchingRow_RowUpdated | ||||||||
| test_updateByRowFields_NumberOfRowsUpdated_CorrectCountReturned | ||||||||
| test_updateByRowFields_UpdateByNumberOfFields_AllFieldsAreUsedInQuery | ||||||||
| test_updateByFields_EmptyTable_NothingUpdated | ||||||||
| test_updateByFields_RowUpdated | ||||||||
| test_updateByFields_OnlyReuqestedRowUpdate | ||||||||
| test_updateByFields_NumberOfRowsUpdated_CountIsCorrect | ||||||||
| test_updateByFields_PartialUpdate | ||||||||
| test_updateByFields_NumberOfExpressionsUsed | ||||||||
| class UpsertConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| upsertAllByKeys | ||||||||
| upsertAllByValues | ||||||||
| class UpsertConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | UpsertConnector | |||||||
| test_upsertByKeys_EmptyTable_RowInserted | ||||||||
| test_upsertByKeys_NoneMatchingRow_NewRowInserted | ||||||||
| test_upsertByKeys_MatchingRow_RowUpdated | ||||||||
| test_upsertByKeys_UseSingleStringAsKey | ||||||||
| test_upsertAllByKeys_EmptyTable_RowInserted | ||||||||
| test_upsertAllByKeys_NoneMatchingRow_NewRowInserted | ||||||||
| test_upsertAllByKeys_MatchingRow_RowUpdated | ||||||||
| test_upsertAllByKeys_UseSingleStringAsKey | ||||||||
| test_upsertByValues_EmptyTable_RowInserted | ||||||||
| test_upsertByValues_NoneMatchingRow_NewRowInserted | ||||||||
| test_upsertByValues_MatchingRow_RowUpdated | ||||||||
| test_upsertByValues_UseSingleStringAsKey | ||||||||
| test_upsertAllByValues_EmptyTable_RowInserted | ||||||||
| test_upsertAllByValues_NoneMatchingRow_NewRowInserted | ||||||||
| test_upsertAllByValues_MatchingRow_RowUpdated | ||||||||
| test_upsertAllByValues_UseSingleStringAsKey | ||||||||
| class ArrayMapper | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| toRow | array | |||||||
| toObject | ||||||||
| class DummyMapper | ||||||||
| Method | Argument | Typehint | Default | |||||
| toRow | array | |||||||
| toObject | ||||||||
| toRows | array | |||||||
| toObjects | array | |||||||
| class LiteObjectMapper | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| toRow | array | |||||||
| toObject | ||||||||
| class LiteObjectSimpleMapper | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| toRow | array | |||||||
| toRows | array | |||||||
| toObject | ||||||||
| toObjects | array | |||||||
| class MapFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| create | IRowMap | |||||||
| class AbstractIdentityInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| getORMConnector | AbstractORMConnector | |||||||
| getConnector | IMySqlConnector | |||||||
| __construct | ||||||||
| doInsert | ||||||||
| class AutoincrementInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| insertObjects | ||||||||
| class GeneratorIDInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| insertObjects | ||||||||
| class SimpleInsert | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| insertObjects | ||||||||
| class AbstractORMConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setObjectMap | ||||||||
| getObjectMap | IRowMap | |||||||
| class AbstractSingleTableConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getTable | ITableNameConnector | |||||||
| getTableName | string | |||||||
| setConnector | IConnector | |||||||
| setTable | ISingleTableConnector | |||||||
| class Connector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getConnector | ?IMySqlConnector | |||||||
| setConnector | IConnector | |||||||
| class GenericIdConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| class GenericIdConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| createObject | DummyObject | |||||||
| subject | GenericIdConnector | |||||||
| test_sanity | ||||||||
| class GenericIdentityConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| class GenericIdentityConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| createObject | DummyObject | |||||||
| subject | GenericIdentityConnector | |||||||
| test_sanity | ||||||||
| class GenericObjectConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| query | ICmdObjectSelect | |||||||
| class GenericObjectConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| createObject | DummyObject | |||||||
| subject | ||||||||
| test_sanity | ||||||||
| test_query_ICmdObjectSelectInstanceReturned | ||||||||
| test_query_sanity | ||||||||
| class DecoratedIdentityConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| setGenericObjectConnector | ||||||||
| trait TIdentityDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdentityConnector | IIdentityConnector | |||||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| delete | ||||||||
| update | ||||||||
| upsert | ||||||||
| insert | ||||||||
| class TIdentityDecoratorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | TIdentityDecoratorTestHelper | |||||||
| assertMethodCalled | void | |||||||
| test_getIdentityConnector_SameObjectReturned | ||||||||
| test_sanity | ||||||||
| class TIdentityDecoratorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryKeys | array | |||||||
| getIdentityConnector | ||||||||
| getIdentityConnectorMethod | ||||||||
| trait TPrimaryKeys | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryKeys | array | |||||||
| getKeysCount | int | |||||||
| getPrimaryFields | array | |||||||
| getPrimaryProperties | array | |||||||
| setPrimaryKeys | ||||||||
| trait TPrimaryKeysConsumer | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryKeys | array | |||||||
| class TPrimaryKeysTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| assertKeysAre | ||||||||
| test_SingleStringPassed | ||||||||
| test_NumericArrayPassed | ||||||||
| test_ArrayPassedWithOneKey | ||||||||
| test_ArrayPassedWithNumberOfKeys | ||||||||
| test_CalledMoreThenOnce_ExceptionThrown | ||||||||
| test_EmptyArrayPassed_ExceptionThrown | ||||||||
| test_EmptyStringPassed_ExceptionThrown | ||||||||
| class TPrimaryKeysTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryKeysMethod | ||||||||
| getKeysCountMethod | ||||||||
| getPrimaryFieldsMethod | ||||||||
| getPrimaryPropertiesMethod | ||||||||
| class ByProperties | ||||||||
| Method | Argument | Typehint | Default | |||||
| getConnector | IGenericIdentityConnector | |||||||
| resolveNames | array | |||||||
| setProperties | ByProperties | |||||||
| setChildPropertyFieldNames | ByProperties | |||||||
| setParentReferenceProperty | ByProperties | |||||||
| setConnector | ByProperties | |||||||
| loaded | ||||||||
| updateChildren | array | |||||||
| inserted | ||||||||
| updated | ||||||||
| upserted | ||||||||
| saved | ||||||||
| class ByPropertiesChild | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class ByPropertiesParent | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class ByPropertiesTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| test_ReturnSelf | ||||||||
| test_loaded_ObjectPassed_ObjectReturned | ||||||||
| test_loaded_ArrayPassed_ArrayReturned | ||||||||
| test_loaded_CorrectChildrenRequestSendToConnector | ||||||||
| test_loaded_ChildrenMapToParents | ||||||||
| test_loaded_MultipleObjectsMappedCorrectly | ||||||||
| test_loaded_MultipleObjectsWithSameChildMappedCorrectly | ||||||||
| test_inserted_NoChildren_Return0 | ||||||||
| test_inserted_HaveChildren_ChildrenInserted | ||||||||
| test_inserted_HaveChildren_CountFromConnectorReturned | ||||||||
| test_inserted_FalseReturnedByConnector_FalseReturned | ||||||||
| test_inserted_ChildPropertiesSet | ||||||||
| test_upserted_NoChildren_Return0 | ||||||||
| test_upserted_HaveChildren_ChildrenUpserted | ||||||||
| test_upserted_HaveChildren_CountFromConnectorReturned | ||||||||
| test_upserted_FalseReturnedByConnector_FalseReturned | ||||||||
| test_upserted_ChildPropertiesSet | ||||||||
| test_updated_NoChildren_Return0 | ||||||||
| test_updated_HaveChildren_ChildrenUpdated | ||||||||
| test_updated_HaveChildren_CountFromConnectorReturned | ||||||||
| test_updated_FalseReturnedByConnector_FalseReturned | ||||||||
| test_updated_ChildPropertiesSet | ||||||||
| test_save_ConnectorDoesNotHAveSaveMethod_ExceptionThrown | ||||||||
| test_save_NoChildren_Return0 | ||||||||
| test_save_HaveChildren_SaveCalledForChild | ||||||||
| test_save_HaveChildren_ContReturned | ||||||||
| class AbstractOneToOneConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| upsertChildren | int | |||||||
| loaded | ||||||||
| config | IJoinConnector | |||||||
| childConnector | IGenericIdentityConnector | |||||||
| getPrimary | IGenericObjectConnector | |||||||
| setConfig | AbstractOneToOneConnector | |||||||
| countByField | ||||||||
| countByFields | ||||||||
| existsByField | bool | |||||||
| existsByFields | bool | |||||||
| deleteByField | ||||||||
| deleteByFields | ||||||||
| insertObjects | ||||||||
| selectObjectByFields | ||||||||
| selectObjectByField | ||||||||
| selectFirstObjectByFields | ||||||||
| selectFirstObjectByField | ||||||||
| selectObjectsByFields | ||||||||
| selectObjects | ||||||||
| updateObject | ||||||||
| upsertObjectsByKeys | ||||||||
| upsertObjectsForValues | ||||||||
| query | ICmdObjectSelect | |||||||
| class AbstractOneToOneIdConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryIdentityConnector | IGenericIdentityConnector | |||||||
| getPrimaryIdConnector | IGenericIdConnector | |||||||
| deleteById | ||||||||
| loadById | ||||||||
| save | ||||||||
| class AbstractOneToOneIdentityConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimary | IGenericObjectConnector | |||||||
| getPrimaryIdentityConnector | IGenericIdentityConnector | |||||||
| delete | ||||||||
| update | ||||||||
| upsert | ||||||||
| insert | ||||||||
| class OneToOneChild | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class OneToOneConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimary | IGenericObjectConnector | |||||||
| setPrimaryConnector | ||||||||
| class OneToOneConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| test_countByField_sanity | ||||||||
| test_countByFields_sanity | ||||||||
| test_existsByField_sanity | ||||||||
| test_existsByFields_sanity | ||||||||
| test_deleteByField_sanity | ||||||||
| test_deleteByFields_sanity | ||||||||
| test_insertObjects_CountForParentsAndChildrenReturned | ||||||||
| test_insertObjects_AllObjectsInserted | ||||||||
| test_insertObjects_IgnoreFlagUsed | ||||||||
| test_selectObjectByField_NotFound_ReturnNull | ||||||||
| test_selectObjectByField_ObjectWithoutChild | ||||||||
| test_selectObjectByField_ObjectWithChild | ||||||||
| test_selectObjectByFields_NotFound_ReturnNull | ||||||||
| test_selectObjectByFields_ObjectWithoutChild | ||||||||
| test_selectObjectByFields_ObjectWithChild | ||||||||
| test_selectFirstObjectByField_NotFound_ReturnNull | ||||||||
| test_selectFirstObjectByField_ObjectWithoutChild | ||||||||
| test_selectFirstObjectByField_ObjectWithChild | ||||||||
| test_selectFirstObjectByFields_NotFound_ReturnNull | ||||||||
| test_selectFirstObjectByFields_ObjectWithoutChild | ||||||||
| test_selectFirstObjectByFields_ObjectWithChild | ||||||||
| test_selectObjectsByFields_NotFound_ReturnEmptyArray | ||||||||
| test_selectObjectsByFields | ||||||||
| test_selectObjects_NotFound_ReturnEmptyArray | ||||||||
| test_selectObjects_AllOBjectsSelected | ||||||||
| test_selectObjects_DataIsOrdered | ||||||||
| test_updateObject_CountIsCorrect | ||||||||
| test_updateObject_ObjectsUpdated | ||||||||
| test_upsertObjectsByKeys_CountIsCorrect | ||||||||
| test_upsertObjectsByKeys_ObjectsUpdated | ||||||||
| test_upsertObjectsForValues_CountIsCorrect | ||||||||
| test_upsertObjectsForValues_ObjectsUpdated | ||||||||
| test_query_QueryObjectReturned | ||||||||
| test_query_QueryFirst | ||||||||
| test_query_QueryOne | ||||||||
| test_query_QueryMap | ||||||||
| test_query_QueryAll | ||||||||
| test_query_QueryIterator_ExceptionThrown | ||||||||
| test_query_queryWithCallback_ExceptionThrown | ||||||||
| test_query_EmptyTable | ||||||||
| class OneToOneIdChild | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class OneToOneIdConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryIdConnector | IGenericIdConnector | |||||||
| setPrimaryConnector | ||||||||
| class OneToOneIdConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| test_delete_DeleteByOneId | ||||||||
| test_delete_DeleteByArray | ||||||||
| test_load_NotFound_ReturnNull | ||||||||
| test_load_QueryByArrayNotFound_ReturnEmptyArray | ||||||||
| test_load_ById_ObjectReturned | ||||||||
| test_load_ByArray_ObjectReturned | ||||||||
| test_save | ||||||||
| class OneToOneIdentChild | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class OneToOneIdentityConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryIdentityConnector | IGenericIdentityConnector | |||||||
| setPrimaryConnector | ||||||||
| class OneToOneIdentityConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| test_update_CountIsCorrect | ||||||||
| test_update_NoChild_CountIsCorrect | ||||||||
| test_update_ObjectsUpdated | ||||||||
| test_upsert_CountIsCorrect | ||||||||
| test_upsert_NoChild_CountIsCorrect | ||||||||
| test_upsert_ObjectsUpserted | ||||||||
| test_insert_CountIsCorrect | ||||||||
| test_insert_NoChild_CountIsCorrect | ||||||||
| test_insert_ObjectsUpserted | ||||||||
| test_insert_ArrayOfObjects | ||||||||
| class OneToOneIdentParent | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class OneToOneIdParent | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class OneToOneParent | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class JoinedObjectSelect | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| queryAll | ||||||||
| queryFirst | ||||||||
| queryOne | ||||||||
| queryWithCallback | ||||||||
| queryIterator | iterable | |||||||
| queryMapRow | ||||||||
| queryGroupBy | Map | |||||||
| trait TPlainDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPlainConnector | IPlainObjectConnector | |||||||
| insertObjects | ||||||||
| selectObjectByFields | ||||||||
| selectObjectByField | ||||||||
| selectFirstObjectByFields | ||||||||
| selectFirstObjectByField | ||||||||
| selectObjectsByFields | ||||||||
| selectObjects | ||||||||
| updateObject | ||||||||
| upsertObjectsByKeys | ||||||||
| upsertObjectsForValues | ||||||||
| class TPlainDecoratorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | ||||||||
| decoratedClass | string | |||||||
| assertMethodCalled | void | |||||||
| test_SameConnectorUsed | ||||||||
| test_Sanity | ||||||||
| class TPlainDecoratorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| override | ||||||||
| get | ||||||||
| class TPlainDecoratorTestHelperClass | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class AbstractPolymorphByField | ||||||||
| Method | Argument | Typehint | Default | |||||
| throwUndefinedGroup | ||||||||
| getConnectorsByClassCached | array | |||||||
| resolveArrayRuleForField | array | |||||||
| resolveCallableRuleForField | array | |||||||
| getConnectorsByClass | array | |||||||
| getByFieldRules | array | |||||||
| getIgnoredFields | array | |||||||
| getObjectConnector | IGenericObjectConnector | |||||||
| getConnector | IGenericObjectConnector | |||||||
| getConnectors | array | |||||||
| sortObjectsByGroups | array | |||||||
| sortExpressionsByGroups | array | |||||||
| expressionsIterator | iterable | |||||||
| objectsIterator | iterable | |||||||
| class AbstractPolymorphByFieldTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| tearDown | ||||||||
| test_getConnector_ConnectorForClassNotDefined_ThrowsException | ||||||||
| test_getConnector_ConnectorForClassFound_ConnectorReturned | ||||||||
| test_getConnector_ConnectorSetAsClassName_ConnectorResovledWithSkeleton | ||||||||
| test_getObjectConnector_ConnectorForClassNotDefined_ThrowsException | ||||||||
| test_getObjectConnector_ConnectorForClassFound_ConnectorReturned | ||||||||
| test_getConnectors_ConnectorsReturned | ||||||||
| test_getConnectors_CalledMoreThenOnce | ||||||||
| test_getConnectors_ConnectorSetAsClassName_ConnectorResovledWithSkeleton | ||||||||
| test_sortObjectsByGroups_SingleObject_SingleObjectReturnedInItsGroup | ||||||||
| test_sortObjectsByGroups_MultipleObjectsOfSameType_SingleGroupReturned | ||||||||
| test_sortObjectsByGroups_MultipleObjects_CorrectGroupsReturned | ||||||||
| test_objectsIterator_SingleObjectPassed | ||||||||
| test_objectsIterator_ObjectsOfSameTypePassed | ||||||||
| test_objectsIterator_MultipleObjectsPassed | ||||||||
| test_sortExpressionsByGroups_InvalidType_ExceptionThrown | ||||||||
| test_sortExpressionsByGroups_ExpressionDoesnMatchAnyGroup_ExpressionInAllGroupsReturned | ||||||||
| test_sortExpressionsByGroups_ArrayRule_WithUniqueValue | ||||||||
| test_sortExpressionsByGroups_ArrayRule_FiledValueNotInRuleList_ExceptionThrown | ||||||||
| test_sortExpressionsByGroups_ArrayRule_EntireExpressionPassed | ||||||||
| test_sortExpressionsByGroups_ArrayRule_ArrayOfValuesMatchingSameGroup | ||||||||
| test_sortExpressionsByGroups_ArrayRule_ArrayOfValuesMatchingDifferentGroups | ||||||||
| test_sortExpressionsByGroups_CallbackRule_CallbackCalled | ||||||||
| test_sortExpressionsByGroups_CallbackRule_SingleFieldValuePassedToCallback | ||||||||
| test_sortExpressionsByGroups_CallbackRule_ArrayFieldValuesPassedToCallback | ||||||||
| test_sortExpressionsByGroups_CallbackRule_DataSortedAccordingToCallbackResult | ||||||||
| test_sortExpressionsByGroups_FirstFoundRuleUsed | ||||||||
| test_expressionsIterator_ExpressionResolveToSingleGroup | ||||||||
| test_expressionsIterator_NumberOfExpressionsPassed | ||||||||
| class AbstractPolymorphByFieldTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getConnectorsByClass | array | |||||||
| getByFieldRules | array | |||||||
| getIgnoredFields | array | |||||||
| class PolymorphByField | ||||||||
| Method | Argument | Typehint | Default | |||||
| getByFieldRules | array | |||||||
| getConnectorsByClass | array | |||||||
| getIgnoredFields | array | |||||||
| addClass | PolymorphByField | |||||||
| setIgnoreFields | PolymorphByField | |||||||
| addClasses | PolymorphByField | |||||||
| addFieldRule | PolymorphByField | |||||||
| class PolymorphByFieldTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| test_ReturnSelf | ||||||||
| test_addClass_PassArrayFirstTime | ||||||||
| test_addClass_PassArrayNumberOfTimes | ||||||||
| test_addClass_PassTwoParams | ||||||||
| test_addClass_PassTwoParamsWithExistingSetup | ||||||||
| test_addClass_ClassNamePassedButConnecorIsNull_ThrowException | ||||||||
| test_addClasses_PassArrayFirstTime | ||||||||
| test_addClasses_PassArrayNumberOfTimes | ||||||||
| test_addFieldRule_PassArrayFirstTime | ||||||||
| test_addFieldRule_PassArrayNumberOfTimes | ||||||||
| test_addFieldRule_PassTwoParams | ||||||||
| test_addFieldRule_PassTwoParamsWithExistingSetup | ||||||||
| test_addFieldRule_FieldPassedAsThingButWithoutRule_ThrowException | ||||||||
| class PolymorphByFieldTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| callGetByFieldRules | array | |||||||
| callGetConnectorsByClass | array | |||||||
| class PolymorphicConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| executeDmlOperationOnObjects | ||||||||
| getConfig | IPolymorphicConfig | |||||||
| setPolymorphicConfig | ||||||||
| countByFields | ||||||||
| existsByFields | bool | |||||||
| selectObjectByFields | ||||||||
| selectFirstObjectByFields | ||||||||
| selectObjectsByFields | ||||||||
| selectObjects | ||||||||
| deleteByFields | ||||||||
| insertObjects | ||||||||
| updateObject | ||||||||
| upsertObjectsByKeys | ||||||||
| upsertObjectsForValues | ||||||||
| class PolymorphicConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| dummyA | DummyObject | |||||||
| dummyB | DummyObjectB | |||||||
| createObjectConnector | ||||||||
| subject | ||||||||
| test_setPolymorphicConfig_ReturnSelf | ||||||||
| test_countByField_FieldMatchingBothTables_AllTablesCounted | ||||||||
| test_countByField_FieldNotMatchingSomeTables | ||||||||
| test_countByFields_QueryMatchingBothTables | ||||||||
| test_countByFields_QueryMatchingSomeTables | ||||||||
| test_existsByField_ObjectNotInTables_ReturnFalse | ||||||||
| test_existsByField_ObjectExistsInOneOfTheTables_ReturnTrue | ||||||||
| test_existsByField_ObjectExistsInOneOfTheTablesButItsNotMatchinRule_ReturnFalse | ||||||||
| test_existsByFields_ObjectNotInTables_ReturnFalse | ||||||||
| test_existsByFields_ObjectExistsInOneOfTheTables_ReturnTrue | ||||||||
| test_existsByFields_ObjectInTableNotMatchingRules_ReturnFalse | ||||||||
| test_selectObjectByField_ObjectNotFound_ReturnNull | ||||||||
| test_selectObjectByField_ObjectExistsInOneOfTheTables_ObjectSelected | ||||||||
| test_selectObjectByField_ObjectExistsInNumberOfTables_ExceptionThrown | ||||||||
| test_selectObjectByField_ObjectExistsInTableNotMatchingRules_ReturnNull | ||||||||
| test_selectObjectByFields_ObjectNotFound_ReturnNull | ||||||||
| test_selectObjectByFields_ObjectExistsInOneOfTheTables_ObjectSelected | ||||||||
| test_selectObjectByFields_ObjectExistsInNumberOfTables_ExceptionThrown | ||||||||
| test_selectObjectByFields_ObjectExistsInTableNotMatchingRules_ReturnNull | ||||||||
| test_selectFirstObjectByField_ObjectNotFound_ReturnNull | ||||||||
| test_selectFirstObjectByField_ObjectExistsInOneOfTheTables_ObjectSelected | ||||||||
| test_selectFirstObjectByField_ObjectExistsInNumberOfTables_FirstFoundObjectReturned | ||||||||
| test_selectFirstObjectByField_ObjectExistsInTableNotMatchingRules | ||||||||
| test_selectFirstObjectByFields_ObjectNotFound_ReturnNull | ||||||||
| test_selectFirstObjectByFields_ObjectExistsInOneOfTheTables_ObjectSelected | ||||||||
| test_selectFirstObjectByFields_ObjectExistsInNumberOfTables_OnlyOneObjectReturned | ||||||||
| test_selectFirstObjectByFields_ObjectExistsInTableNotMatchingRules_ReturnNull | ||||||||
| test_selectObjectsByFields_ObjectNotFound_ReturnEmptyArray | ||||||||
| test_selectObjectsByFields_ObjectInOneOfTheTables_ObjectsReturned | ||||||||
| test_selectObjectsByFields_ObjectInAllTables_ObjectsReturned | ||||||||
| test_selectObjectsByFields_ObjectInOneOfTheTablesThatDoesNotMatchRules_OnlyMatchingObjectsReturned | ||||||||
| test_selectObjectsByFields_LimitReachedWhenQueriedFromOneOfTheTables | ||||||||
| test_selectObjects_OrderByPassed_ExceptionThrown | ||||||||
| test_selectObjects_AllTablesEmpty_ReturnEmptyArray | ||||||||
| test_selectObjects_AllObjectReturned | ||||||||
| test_deleteByField_NothingDeleted_Return0 | ||||||||
| test_deleteByField_ObjectExistsInAllTables_DeletedFromBothTables | ||||||||
| test_deleteByField_ObjectExistsInAllTables_ReturnTotalCount | ||||||||
| test_deleteByField_MatchingOnlyOneSelectGroup_OnlyMatchingTableIsUsed | ||||||||
| test_deleteByField_LimitUsedAndReachedInOneOfTheTabls | ||||||||
| test_deleteByFields_NothingDeleted_Return0 | ||||||||
| test_deleteByFields_ObjectExistsInAllTables_DeletedFromBothTables | ||||||||
| test_deleteByFields_ObjectExistsInAllTables_ReturnTotalCount | ||||||||
| test_deleteByFields_MatchingOnlyOneSelectGroup_OnlyMatchingTableIsUsed | ||||||||
| test_deleteByFields_LimitUsedAndReachedInOneOfTheTabls | ||||||||
| test_insertObjects_SingleObjectPassed_Return1 | ||||||||
| test_insertObjects_SingleObjectPassed_ObjectInsertedIntoTheCorrectTable | ||||||||
| test_insertObjects_InsertSingleObjectThatAlreadyExists_ThrowsException | ||||||||
| test_insertObjects_InsertSingleObjectThatAlreadyExistsWithIgnoreFlag_Return0 | ||||||||
| test_insertObjects_ArrayOfObjectsPassed_ObjectsInsertedIntoCorrectTables | ||||||||
| test_insertObjects_ArrayOfObjectsPassed_CorrectCountReturned | ||||||||
| test_insertObjects_SomeObjectsAreDuplicatedWithIngoreFlagOn_DuplicatesIgnored | ||||||||
| test_updateObject_ObjectDoesNotExists_Return0 | ||||||||
| test_updateObject_ObjectExistsInOneOfTheTables_Return1 | ||||||||
| test_updateObject_ObjectExistsInOneOfTheTables_ObjectUpdated | ||||||||
| test_upsertObjectsByKeys_ObjectDoesNotExists_Return1 | ||||||||
| test_upsertObjectsByKeys_ObjectDoesNotExists_ObjectInserted | ||||||||
| test_upsertObjectsByKeys_ObjectExistsInOneOfTheTables_Return2 | ||||||||
| test_upsertObjectsByKeys_ObjectExistsInOneOfTheTables_ObjectUpdated | ||||||||
| test_upsertObjectsByKeys_ArrayOfObjectsPassed | ||||||||
| test_upsertObjectsForValues_ObjectDoesNotExists_Return1 | ||||||||
| test_upsertObjectsForValues_ObjectDoesNotExists_ObjectInserted | ||||||||
| test_upsertObjectsForValues_ObjectExistsInOneOfTheTables_Return2 | ||||||||
| test_upsertObjectsForValues_ObjectExistsInOneOfTheTables_ObjectUpdated | ||||||||
| test_upsertObjectsForValues_ArrayOfObjectsPassed | ||||||||
| class PolymorphicIdConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| deleteById | ||||||||
| loadById | ||||||||
| class PolymorphicIdConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| createObjectConnector | ||||||||
| subject | ||||||||
| test_deleteById_CorrectTableAffected | ||||||||
| test_deleteById_ArrayOfIdsPassed | ||||||||
| test_loadById_ObjectSelectedFromCorrectTable | ||||||||
| test_loadById_ArrayOfIdsPassed | ||||||||
| test_save | ||||||||
| class PolymorphicIdentityConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdentityConnector | IGenericIdentityConnector | |||||||
| executeIdentityOperation | ||||||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| delete | ||||||||
| insert | ||||||||
| update | ||||||||
| upsert | ||||||||
| class PolymorphicIdentityConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| dummyA | DummyObject | |||||||
| dummyB | DummyObjectB | |||||||
| createObjectConnector | ||||||||
| subject | ||||||||
| test_delete_ConnectorIsNotIGenericIdentityConnector_ExceptionThrown | ||||||||
| test_delete_OnlyRequestTableAffected | ||||||||
| test_delete_ArrayPassed | ||||||||
| test_insert_ConnectorIsNotIGenericIdentityConnector_ExceptionThrown | ||||||||
| test_insert_ObjectInsertedIntoCorrectTable | ||||||||
| test_insert_ObjectAlreadyExists_ErrorThrown | ||||||||
| test_insert_ArrayPassed | ||||||||
| test_upsert_ConnectorIsNotIGenericIdentityConnector_ExceptionThrown | ||||||||
| test_upsert_ObjectInsertedIntoCorrectTable | ||||||||
| test_upsert_ObjectUpdatedIntoTheCorrectTable | ||||||||
| test_upsert_ArrayPassed | ||||||||
| test_update_ConnectorIsNotIGenericIdentityConnector_ExceptionThrown | ||||||||
| test_upsert_ObjectNotInserted | ||||||||
| test_upsert_ObjectUpdatedIntoCorrectTable | ||||||||
| class AbstractInsertHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| idField | string | |||||||
| doInsert | ||||||||
| setInsertProvider | IInsertHandler | |||||||
| setIdProperty | IInsertHandler | |||||||
| class AbstractInsertHandlerTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| test_ReturnSelf | ||||||||
| test_HandlerIsCallback_CallbackHandlerCalled | ||||||||
| test_HandlerIsCallback_CallbackValueReturned | ||||||||
| test_HandlerIsCallback_ParamsPassedToHandler | ||||||||
| test_HandlerIsIIdentityInsert_CallbackValueReturned | ||||||||
| test_HandlerIsIIdentityInsert_ParamsPassedToHandler | ||||||||
| class AbstractInsertHandlerTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| insert | ||||||||
| class AutoIncInsertHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| setConnector | AutoIncInsertHandler | |||||||
| insert | ||||||||
| class AutoIncInsertHandlerTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | AutoIncInsertHandler | |||||||
| test_ReturnSelf | ||||||||
| test_SingleArrayPassed | ||||||||
| test_NumberOfElementsPassed | ||||||||
| class GeneratedIdInsertHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| setGenerator | GeneratedIdInsertHandler | |||||||
| setTableName | GeneratedIdInsertHandler | |||||||
| insert | ||||||||
| class GeneratedIdInsertHandlerTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | GeneratedIdInsertHandler | |||||||
| test_ReturnSelf | ||||||||
| test_SingleArrayPassed | ||||||||
| test_NumberOfElementsPassed | ||||||||
| class GeneratedIdInsertHandlerTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| generate | array | |||||||
| release | ||||||||
| class DecoratedIdConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| setGenericObjectConnector | ||||||||
| trait TIdDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| getBareIdConnector | DecoratedIdConnector | |||||||
| getIdConnector | DecoratedIdConnector | |||||||
| getIdentityConnector | IIdentityConnector | |||||||
| deleteById | ||||||||
| loadById | ||||||||
| save | ||||||||
| setAutoIncrementId | ||||||||
| setGeneratedId | ||||||||
| class TIdDecoratorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| subject | TIdDecoratorTestHelper | |||||||
| test_getIdConnector_SameObjectReturned | ||||||||
| test_deleteById_ConnectorCalled | ||||||||
| test_loadById_ConnectorCalled | ||||||||
| test_save_ConnectorCalled | ||||||||
| test_setAutoIncrementId_ConnectorCalled | ||||||||
| test_setAutoIncrementId_Sanity | ||||||||
| test_setGeneratedId_ConnectorCalled | ||||||||
| test_setGeneratedId_Sanity | ||||||||
| class TIdDecoratorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdKey | array | |||||||
| getIdConnector | ||||||||
| getBareIdConnector | ||||||||
| getIdConnectorMethod | ||||||||
| getIdProperty | string | |||||||
| trait TIdKey | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdField | string | |||||||
| getIdProperty | string | |||||||
| getIdKey | array | |||||||
| setIdKey | ||||||||
| trait TIdKeyConsumer | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdKey | array | |||||||
| getPrimaryKeys | array | |||||||
| class TIdKeyTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| assertKeyIs | ||||||||
| test_SingleStringPassed | ||||||||
| test_PropertyAndFieldPassed | ||||||||
| test_ArrayPassed | ||||||||
| test_CalledMoreThenOnce_ExceptionThrown | ||||||||
| test_MoreThenOneColumnInArrayPassed_ExceptionThrown | ||||||||
| class TIdKeyTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdFieldMethod | ||||||||
| getIdPropertyMethod | ||||||||
| getIdKeyMethod | ||||||||
| trait TIdSave | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdProperty | string | |||||||
| insert | ||||||||
| upsert | ||||||||
| save | ||||||||
| class TIdSaveTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| test_save_SingleNewObject_ReturnCountFromInsert | ||||||||
| test_save_SingleNewObject_ReturnCountFromUpdate | ||||||||
| test_save_SingleObjectErrorForInsert_ReturnFalse | ||||||||
| test_save_SingleObjectErrorForUpdate_ReturnFalse | ||||||||
| test_save_ArrayOfInsertedObjects_ReturnCount | ||||||||
| test_save_ArrayOfUpdatedObjects_ReturnCount | ||||||||
| test_save_MixedArray_ReturnSum | ||||||||
| test_save_SingleNewObject_ObjectPassedToInsert | ||||||||
| test_save_SingleUpdatedObject_ObjectPassedToUpdate | ||||||||
| test_save_ArrayOfNewObjects_ObjectsPassedToInsert | ||||||||
| test_save_ArrayOfUpdatedObject_ObjectPassedToUpdate | ||||||||
| test_save_MixedObjectsPassed | ||||||||
| class TIdSaveTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getIdProperty | string | |||||||
| insert | ||||||||
| upsert | ||||||||
| class TIdSaveTestObject | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| a | ||||||||
| interface IObjectLoader | ||||||||
| Method | Argument | Typehint | Default | |||||
| loadOne | ||||||||
| loadAll | ||||||||
| trait TObjectLoader | ||||||||
| Method | Argument | Typehint | Default | |||||
| loadAll | ||||||||
| class LoaderSelector | ||||||||
| Method | Argument | Typehint | Default | |||||
| loadOne | ||||||||
| loadAll | ||||||||
| setSelector | ||||||||
| setLoader | ||||||||
| all | ||||||||
| one | ||||||||
| first | ||||||||
| withCallback | bool | |||||||
| iterator | iterable | |||||||
| map | ||||||||
| groupBy | Map | |||||||
| class StandardSelector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| all | ||||||||
| one | ||||||||
| first | ||||||||
| withCallback | bool | |||||||
| iterator | iterable | |||||||
| map | ||||||||
| groupBy | Map | |||||||
| class CmdObjectSelect | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| queryAll | ||||||||
| queryFirst | ||||||||
| queryOne | ||||||||
| queryWithCallback | ||||||||
| queryIterator | iterable | |||||||
| queryMapRow | ||||||||
| queryGroupBy | Map | |||||||
| __clone | ||||||||
| class IdConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getPrimaryKeys | array | |||||||
| insert | ||||||||
| deleteById | ||||||||
| loadById | ||||||||
| setAutoIncrementId | IdConnector | |||||||
| setGeneratedId | IdConnector | |||||||
| class IdConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| test_ReturnSelf | ||||||||
| test_insert_NoInsertHandler_ConnectorCalled | ||||||||
| test_insert_IdGenerator | ||||||||
| test_insert_AutoIncId | ||||||||
| test_deleteById | ||||||||
| test_loadById | ||||||||
| class IdConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| getObjectKeys | ||||||||
| class IdentityConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| delete | ||||||||
| update | ||||||||
| upsert | ||||||||
| insert | ||||||||
| class IdentityConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| createObject | IdentityConnectorTestHelper | |||||||
| newDifferentPropertiesObject | IdentityConnectorTestHelperDiffProperties | |||||||
| subject | IdentityConnector | |||||||
| subjectOverrideGeneric | IdentityConnector | |||||||
| idSubject | IdentityConnector | |||||||
| test_setPrimaryKeys_ReturnSelf | ||||||||
| test_setPrimaryKeys_PassPropetiesWithDifferentFormat | ||||||||
| test_delete_ObjectNotFound_Return0 | ||||||||
| test_delete_OtherObjectsExistsInTheDB_OtherObjectsNotDeleted | ||||||||
| test_delete_ObjectInDB_ObjectDeleted | ||||||||
| test_delete_ObjectDeleted_Return1 | ||||||||
| test_delete_MultipleObjectsPassed_AllObjectsDeleted | ||||||||
| test_delete_MultipleObjectsPassed_CorrectCountReturned | ||||||||
| test_delete_ObjectHasSingleKey_AllRequestedObjectsDeleted | ||||||||
| test_update_Sanity | ||||||||
| test_upsert_Sanity | ||||||||
| test_insert_Sanity | ||||||||
| class IdentityConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class IdentityConnectorTestHelperDiffProperties | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class OverridedIdentityConnectorTestHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| getGenericObjectConnector | IGenericObjectConnector | |||||||
| class PlainObjectConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getSelect | ICmdSelect | |||||||
| insertObjects | ||||||||
| selectObjectByFields | ||||||||
| selectObjectByField | ||||||||
| selectFirstObjectByFields | ||||||||
| selectFirstObjectByField | ||||||||
| selectObjectsByFields | ||||||||
| selectObjects | ||||||||
| updateObject | ||||||||
| upsertObjectsByKeys | ||||||||
| upsertObjectsForValues | ||||||||
| class PlainObjectConnectorTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| newObject | PlainObjectHelper | |||||||
| subject | PlainObjectConnector | |||||||
| test_insertObjects_EmptyTable_ObjectInserted | ||||||||
| test_insertObjects_OtherObjectsExist_ObjectsNotModifed | ||||||||
| test_insertObjects_ObjectWithSameKeyExists_ErrorThrown | ||||||||
| test_insertObjects_ObjectWithSameKeyExistsWithIgnoreFlagOn_NoErrorAndRowNotModified | ||||||||
| test_insertObjects_OneObjectInserted_CorrectCountReturned | ||||||||
| test_insertObjects_NumberOfObjectysInserted_CorrectCountReturned | ||||||||
| test_insertObjects_InsertingMultipleObjectsWithIgnoreFlagOn_CountIsCorrect | ||||||||
| test_insertObjects_InsertingMultipleObjectsWithIgnoreFlagOn_OnlyNonDuplicatesInserted | ||||||||
| test_selectObjectByFields_ObjectNotFound_ReturnNull | ||||||||
| test_selectObjectByFields_ObjectFound_ObjectReturned | ||||||||
| test_selectObjectByFields_NumberOfMatchingObjects_ExceptionThrown | ||||||||
| test_selectObjectByField_ObjectNotFound_ReturnNull | ||||||||
| test_selectObjectByField_ObjectFound_ObjectReturned | ||||||||
| test_selectObjectByField_NumberOfMatchingObjects_OnlyFirstObjectReturned | ||||||||
| test_selectFirstObjectByFields_ObjectNotFound_ReturnNull | ||||||||
| test_selectFirstObjectByFields_ObjectFound_ObjectReturned | ||||||||
| test_selectFirstObjectByFields_NumberOfMatchingObjects_OnlyFirstObjectReturned | ||||||||
| test_selectFirstObjectByField_ObjectNotFound_ReturnNull | ||||||||
| test_selectFirstObjectByField_ObjectFound_ObjectReturned | ||||||||
| test_selectFirstObjectByField_NumberOfMatchingObjects_OnlyFirstObjectReturned | ||||||||
| test_selectFirstObjectsByField_ObjectNotFound_ReturnEmptyArray | ||||||||
| test_selectFirstObjectsByField_ObjectsFound_ObjectsReturned | ||||||||
| test_selectFirstObjectsByField_ObjectsFoundWithLimit_OnlyFirstNElementsReturned | ||||||||
| test_selectObjects_EmptyTable_ReturnEmptyArray | ||||||||
| test_selectObjects_TableHasValue_AllValuesReturned | ||||||||
| test_selectObjects_OrderByUsed_DataReturnedOrderByRequestedField | ||||||||
| test_updateObject_EmptyTable_NoObjectInserted | ||||||||
| test_updateObject_EmptyTable_Return0 | ||||||||
| test_updateObject_DifferentObjectsExists_OtherObjectsNotAffected | ||||||||
| test_updateObject_MatchingObjectExists_ObjectsUpdated | ||||||||
| test_updateObject_MatchingObjectExists_CorrectCountReturned | ||||||||
| test_upsertObjectsByKeys_EmptyTable_ObjectInserted | ||||||||
| test_upsertObjectsByKeys_EmptyTable_ReturnCorrectCount | ||||||||
| test_upsertObjectsByKeys_DifferentObjectsExists_OtherObjectsNotAffected | ||||||||
| test_upsertObjectsByKeys_DifferentObjectsExists_NewObjectInserted | ||||||||
| test_upsertObjectsByKeys_MatchingObjectExists_ObjectsUpdated | ||||||||
| test_upsertObjectsByKeys_MatchingObjectExists_CorrectCountReturned | ||||||||
| test_upsertObjectsForValues_EmptyTable_ObjectInserted | ||||||||
| test_upsertObjectsForValues_EmptyTable_ReturnCorrectCount | ||||||||
| test_upsertObjectsForValues_DifferentObjectsExists_OtherObjectsNotAffected | ||||||||
| test_upsertObjectsForValues_DifferentObjectsExists_NewObjectInserted | ||||||||
| test_upsertObjectsForValues_MatchingObjectExists_ObjectsUpdated | ||||||||
| test_upsertObjectsForValues_MatchingObjectExists_CorrectCountReturned | ||||||||
| class PlainObjectHelper | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| class GenericConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| setup | ||||||||
| select | Generic\ISelectConnector | |||||||
| delete | Generic\IDeleteConnector | |||||||
| update | Generic\IUpdateConnector | |||||||
| upsert | Generic\IUpsertConnector | |||||||
| insert | Generic\IInsertConnector | |||||||
| count | Generic\ICountConnector | |||||||
| class TableNameConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| select | Command\ICmdSelect | |||||||
| update | Command\ICmdUpdate | |||||||
| insert | Command\ICmdInsert | |||||||
| delete | Command\ICmdDelete | |||||||
| upsert | Command\ICmdUpsert | |||||||
| name | string | |||||||
| __toString | ||||||||
| trait TObjectMapConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| getMap | IRowMap | |||||||
| setObjectMap | ||||||||
| class SelectDecorator | ||||||||
| Method | Argument | Typehint | Default | |||||
| addColumn | ||||||||
| _orderBy | ||||||||
| getSelect | ICmdSelect | |||||||
| getChild | IWithWhere | |||||||
| __construct | ||||||||
| setChild | ||||||||
| setConnector | ||||||||
| distinct | ||||||||
| from | ||||||||
| join | ||||||||
| leftJoin | ||||||||
| rightJoin | ||||||||
| groupBy | ||||||||
| having | ||||||||
| union | ||||||||
| unionAll | ||||||||
| where | ||||||||
| limit | IWithLimit | |||||||
| withRollup | ||||||||
| forUpdate | ||||||||
| lockInShareMode | ||||||||
| __clone | ||||||||
| __toString | ||||||||
| class FileConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setConnector | ||||||||
| execute | ||||||||
| class SelectCombiner | ||||||||
| Method | Argument | Typehint | Default | |||||
| invokeOnAll | ||||||||
| invokeOnUnion | ||||||||
| __clone | ||||||||
| add | ||||||||
| addByKey | ||||||||
| getByKey | ||||||||
| removeByKey | ||||||||
| has | ||||||||
| unionCommands | ICmdSelect|? | |||||||
| distinct | ||||||||
| column | ||||||||
| columns | ||||||||
| columnsExp | ||||||||
| columnAs | ||||||||
| columnAsExp | ||||||||
| from | ||||||||
| join | ||||||||
| leftJoin | ||||||||
| rightJoin | ||||||||
| groupBy | ||||||||
| having | ||||||||
| withRollup | ||||||||
| union | ||||||||
| unionAll | ||||||||
| forUpdate | ||||||||
| lockInShareMode | ||||||||
| setConnection | void | |||||||
| limit | IWithLimit | |||||||
| limitBy | IWithLimit | |||||||
| page | IWithLimit | |||||||
| orderBy | IWithLimit | |||||||
| orderByAsc | IWithLimit | |||||||
| orderByDesc | IWithLimit | |||||||
| byId | ||||||||
| byField | ||||||||
| byFields | ||||||||
| where | ||||||||
| whereIn | ||||||||
| whereNotIn | ||||||||
| whereExists | ||||||||
| whereNotExists | ||||||||
| whereLike | ||||||||
| whereNotLike | ||||||||
| whereContains | ||||||||
| whereStartsWith | ||||||||
| whereEndsWith | ||||||||
| whereBetween | IWithExtendedWhere | |||||||
| whereNotEqual | IWithExtendedWhere | |||||||
| whereLess | IWithExtendedWhere | |||||||
| whereLessOrEqual | IWithExtendedWhere | |||||||
| whereGreater | IWithExtendedWhere | |||||||
| whereGreaterOrEqual | IWithExtendedWhere | |||||||
| bind | array | |||||||
| assemble | string | |||||||
| execute | ||||||||
| query | ||||||||
| queryNumeric | ||||||||
| queryAll | ||||||||
| queryRow | ||||||||
| queryColumn | ||||||||
| queryScalar | ||||||||
| queryInt | int|? | |||||||
| queryFloat | ?float | |||||||
| queryBool | bool|? | |||||||
| queryWithCallback | ||||||||
| queryIterator | ||||||||
| queryIteratorBulk | ||||||||
| queryMap | ||||||||
| queryObject | ||||||||
| queryObjects | array | |||||||
| queryMapRow | ||||||||
| queryGroupBy | Map | |||||||
| queryCount | ||||||||
| queryExists | ||||||||
| queryLimit | ||||||||
| __toString | ||||||||
| class JoinPerRow | ||||||||
| Method | Argument | Typehint | Default | |||||
| enrichData | ||||||||
| setSubQuery | ||||||||
| on | ||||||||
| asColumn | ||||||||
| queryNumeric | ||||||||
| queryAll | ||||||||
| queryRow | ||||||||
| class UniqueJoin | ||||||||
| Method | Argument | Typehint | Default | |||||
| enrichData | ||||||||
| setSubQuery | ||||||||
| on | ||||||||
| asColumn | ||||||||
| queryAll | ||||||||
| queryRow | ||||||||
| class PaginatedByFieldResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| setData | void | |||||||
| isEmpty | bool | |||||||
| isNotEmpty | bool | |||||||
| class PaginatedByFieldExtension | ||||||||
| Method | Argument | Typehint | Default | |||||
| getFieldSign | string | |||||||
| getOffset | int | |||||||
| getData | array | |||||||
| __construct | ||||||||
| setQuery | PaginatedByFieldExtension | |||||||
| setOrder | PaginatedByFieldExtension | |||||||
| setIdField | PaginatedByFieldExtension | |||||||
| setOrderField | PaginatedByFieldExtension | |||||||
| before | PaginatedByFieldExtension | |||||||
| after | PaginatedByFieldExtension | |||||||
| setLimit | PaginatedByFieldExtension | |||||||
| query | PaginatedByFieldResult | |||||||
| class Query | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| select | ICmdSelect | |||||||
| assemble | string | |||||||
| bind | array | |||||||
| query | array | |||||||
| queryFirst | ||||||||
| trait TWithWhereDecorated | ||||||||
| Method | Argument | Typehint | Default | |||||
| getChild | IWithWhere | |||||||
| byId | ||||||||
| byField | ||||||||
| byFields | ||||||||
| whereIn | ||||||||
| whereNotIn | ||||||||
| whereExists | ||||||||
| whereNotExists | ||||||||
| class LikeGenerator | ||||||||
| Method | Argument | Typehint | Default | |||||
| escapeLikeString | string | |||||||
| getEscapeString | string | |||||||
| getEscapeCharacter | string|? | |||||||
| generateLike | ||||||||
| generateEscapedLike | ||||||||
| trait TDml | ||||||||
| Method | Argument | Typehint | Default | |||||
| executeDml | ||||||||
| exec | ||||||||
| trait TQuery | ||||||||
| Method | Argument | Typehint | Default | |||||
| queryValues | ||||||||
| resolveFetchMode | ||||||||
| parseObject | LiteObject | |||||||
| query | ||||||||
| queryNumeric | ||||||||
| queryAll | ||||||||
| queryRow | ||||||||
| queryColumn | array | |||||||
| queryScalar | ||||||||
| queryInt | int|? | |||||||
| queryFloat | ?float | |||||||
| queryBool | bool|? | |||||||
| queryWithCallback | ||||||||
| queryIterator | ||||||||
| queryIteratorBulk | ||||||||
| queryValuesMap | ||||||||
| queryValuesGroup | ||||||||
| queryRecordsMap | ||||||||
| queryRecordsGroup | ||||||||
| queryObject | ||||||||
| queryObjects | array | |||||||
| queryGroupBy | Map | |||||||
| queryMap | ||||||||
| queryMapRow | ||||||||
| trait TWithColumn | ||||||||
| Method | Argument | Typehint | Default | |||||
| column | ||||||||
| columns | ||||||||
| columnsExp | ||||||||
| columnAs | ||||||||
| columnAsExp | ||||||||
| trait TWithCreateColumns | ||||||||
| Method | Argument | Typehint | Default | |||||
| column | ||||||||
| trait TWithExtendedWhere | ||||||||
| Method | Argument | Typehint | Default | |||||
| whereBetween | IWithExtendedWhere | |||||||
| whereNotEqual | IWithExtendedWhere | |||||||
| whereLess | IWithExtendedWhere | |||||||
| whereLessOrEqual | IWithExtendedWhere | |||||||
| whereGreater | IWithExtendedWhere | |||||||
| whereGreaterOrEqual | IWithExtendedWhere | |||||||
| trait TWithIndex | ||||||||
| Method | Argument | Typehint | Default | |||||
| primary | ||||||||
| index | ||||||||
| unique | ||||||||
| foreignKey | ||||||||
| trait TWithLimit | ||||||||
| Method | Argument | Typehint | Default | |||||
| appendDesc | void | |||||||
| limitBy | IWithLimit | |||||||
| page | IWithLimit | |||||||
| orderBy | IWithLimit | |||||||
| orderByAsc | IWithLimit | |||||||
| orderByDesc | IWithLimit | |||||||
| trait TWithSet | ||||||||
| Method | Argument | Typehint | Default | |||||
| setFields | ||||||||
| setFieldsAssoc | ||||||||
| setField | ||||||||
| setExpressionFields | ||||||||
| setExpressionFieldsAssoc | ||||||||
| set | ||||||||
| setExp | ||||||||
| setCase | ||||||||
| setCaseExp | ||||||||
| trait TWithWhere | ||||||||
| Method | Argument | Typehint | Default | |||||
| byFieldsNum | ||||||||
| byFieldsAssoc | ||||||||
| isConvertableToPlainArray | bool | |||||||
| prepareFiller | string | |||||||
| getVersion | string | |||||||
| getConn | ?IMySqlConnection | |||||||
| byId | ||||||||
| byField | ||||||||
| byFields | ||||||||
| whereIn | ||||||||
| whereNotIn | ||||||||
| whereExists | ||||||||
| whereNotExists | ||||||||
| whereLike | ||||||||
| whereNotLike | ||||||||
| whereContains | ||||||||
| whereStartsWith | ||||||||
| whereEndsWith | ||||||||
| trait TMysqlCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| connection | IMySqlConnection | |||||||
| setConnection | void | |||||||
| class TWithWhereTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| isMultiDimensionalArray | bool | |||||||
| getExpectedString | string | |||||||
| checkValue | void | |||||||
| checkField | void | |||||||
| invokeWhereInWithEmptyValue | void | |||||||
| getVersion | string | |||||||
| where | void | |||||||
| test_whereIn_PassEmptyValue | ||||||||
| test_whereIn_PassStringFieldAndArrayValues_GotStringAndBind | ||||||||
| test_whereIn_PassArrayField_AndPlainArrayValues_GotStringAndBind | ||||||||
| test_whereIn_PassArrayField_AndMultidimensionalArrayValues_GotStringAndBind | ||||||||
| test_whereIn_PassStringField_AndISelectValue_GotStringAndBind | ||||||||
| test_whereIn_PassArrayField_AndISelectValue_GotStringAndBind | ||||||||
| test_whereIn_PassEmptyArray_HandlerInvoked | ||||||||
| getConn | ?IMySqlConnection | |||||||
| class MySqlConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| initialize | ||||||||
| __construct | ||||||||
| query | IQueryHandler | |||||||
| setConnection | ||||||||
| controller | ||||||||
| delete | ||||||||
| direct | ||||||||
| insert | ||||||||
| lock | ||||||||
| select | ||||||||
| update | ||||||||
| upsert | ||||||||
| transaction | Command\ICmdTransaction | |||||||
| db | ||||||||
| create | ||||||||
| bulk | ||||||||
| close | ||||||||
| name | ||||||||
| class AbstractQueryHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| invoke | AbstractQueryHandler | |||||||
| setTable | void | |||||||
| setObject | void | |||||||
| conn | IMySqlConnector | |||||||
| select | ICmdSelect | |||||||
| queryObject | IQuery | |||||||
| _limitBy | AbstractQueryHandler | |||||||
| _limit | AbstractQueryHandler | |||||||
| _where | AbstractQueryHandler | |||||||
| _byField | AbstractQueryHandler | |||||||
| _byFields | AbstractQueryHandler | |||||||
| __construct | ||||||||
| setup | void | |||||||
| preExecute | ICmdSelect | |||||||
| filterRecord | bool | |||||||
| processRecord | ||||||||
| processAll | array|? | |||||||
| interface IQueryHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| setup | void | |||||||
| preExecute | ICmdSelect | |||||||
| filterRecord | bool | |||||||
| processRecord | ||||||||
| processAll | ?array | |||||||
| class ClassName | ||||||||
| Method | Argument | Typehint | Default | |||||
| getClassNameOnly | ||||||||
| class ConfigFacade | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setConfig | ||||||||
| addConfig | ||||||||
| addConfigObject | ||||||||
| addLoader | ||||||||
| addExecuteDecorator | ||||||||
| getConfig | ||||||||
| getDecorators | ||||||||
| class ForeignKeyBehavior | ||||||||
| Method | Argument | Typehint | Default | |||||
| get | ||||||||
| interface IMySqlConnector | ||||||||
| Method | Argument | Typehint | Default | |||||
| query | IQueryHandler | |||||||
| controller | ||||||||
| delete | ||||||||
| direct | ||||||||
| insert | ||||||||
| lock | ||||||||
| select | ||||||||
| update | ||||||||
| upsert | ||||||||
| transaction | Command\ICmdTransaction | |||||||
| db | ||||||||
| create | ||||||||
| bulk | ||||||||
| close | ||||||||
| name | ||||||||
| class EmptyWhereInHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| defaultHandler | void | |||||||
| handle | void | |||||||
| set | void | |||||||
| class MySql | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getNewConnection | ||||||||
| config | ||||||||
| addConnector | ||||||||
| addDecorator | ||||||||
| getConnector | ||||||||
| createConnector | ||||||||
| closeAll | ||||||||
| staticConnector | ||||||||
| setEmptyWhereInHandler | void | |||||||
| class SkeletonInit | ||||||||
| Method | Argument | Typehint | Default | |||||
| configureSkeleton | void | |||||||
| skeleton | ||||||||
| class Squid | ||||||||
| Method | Argument | Typehint | Default | |||||
| MySql | ||||||||
| skeleton | ||||||||
| class Config | ||||||||
| Method | Argument | Typehint | Default | |||||
| get | ||||||||
| class DataSet | ||||||||
| Method | Argument | Typehint | Default | |||||
| createTable | ||||||||
| getRandomName | ||||||||
| tableAs | ||||||||
| table | ||||||||
| connector | ||||||||
| clearDB | ||||||||
| setup | ||||||||
| class DummyObject | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| __construct | ||||||||
| class DummyObjectB | ||||||||
| Method | Argument | Typehint | Default | |||||
| _setup | ||||||||
| __construct | ||||||||
| class SkeletonOverride | ||||||||
| Method | Argument | Typehint | Default | |||||
| get | UnitTestSkeleton | |||||||
| clear | ||||||||
| set | ||||||||
| trait TDBAssert | ||||||||
| Method | Argument | Typehint | Default | |||||
| assertRowExists | ||||||||
| assertRowCount | ||||||||
| assertLastRowExists | ||||||||
| row | array | |||||||
| class TestTable | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| name | ||||||||
| connector | ||||||||
| data | ||||||||
| __toString | ||||||||
| __debugInfo | ||||||||