Method |
Description |
|
createEntity ( $table, $data ) |
|
|
createReference ( $referenceDetails, $data ) |
|
|
deleteEntity ( $table, $where, $parentIds ) |
|
|
deleteReference ( $referenceDetails, $where ) |
|
|
detectAllAffectedIds ( $entityName, $data, $where ) : array |
Returns all database IDs matching the restriction. |
|
fillParentId ( $metaEntityName, $entityInfo, $id ) |
|
|
getIdsForRestriction ( string $entityName, array $where ) : array |
Returns all ids from DB suitable for given restriction. |
|
processDeleteQuery ( ParsedQueryData $parsedQueryData ) |
Process ParsedQueryData from DELETE query and deletes entity/entities data from Storage. |
|
processInsertQuery ( ParsedQueryData $parsedQueryData ) |
Process ParsedQueryData from INSERT query and stores affected entity into Storage. |
|
processInsertUpdateQuery ( ParsedQueryData $parsedQueryData ) |
Processes ParsedQueryData from INSERT . |
|
processUpdateQuery ( ParsedQueryData $parsedQueryData ) |
Processes ParsedQueryData from UPDATE query and stores updated entity/entities data into Storage. |
|
storeRelatedEntities ( array $data, string $entityName ) |
Saves all already existing meta and M:N references for an entity that wasn't tracked yet |
|
updateEntity ( $data, $entityName, $id ) |
|
|