value). This array will be transformed to a WHERE clause * @param bool $isRelation TRUE if we are currently inserting into a relation table, FALSE by default */ public function removeRow(string $tableName, array $where, bool $isRelation = false): void; /** * Returns the number of items matching the query. * * @param \TYPO3\CMS\Extbase\Persistence\QueryInterface $query * @return int */ public function getObjectCountByQuery(QueryInterface $query): int; /** * Returns the object data matching the $query. * * @param \TYPO3\CMS\Extbase\Persistence\QueryInterface $query * @return array */ public function getObjectDataByQuery(QueryInterface $query): array; /** * Checks if a Value Object equal to the given Object exists in the data base * * @param \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject $object The Value Object * @return int|null The matching uid if an object was found, else null * @todo this is the last monster in this persistence series. refactor! */ public function getUidOfAlreadyPersistedValueObject(AbstractValueObject $object): ?int; }