DatabasePresenceVerifierInterface
interface DatabasePresenceVerifierInterface implements PresenceVerifierInterface
Methods
int
getCount(string $collection, string $column, string $value, int|string|null $excludeId = null, string|null $idColumn = null, array $extra = [])
Count the number of objects in a collection having the given value.
int
getMultiCount(string $collection, string $column, array $values, array $extra = [])
Count the number of objects in a collection with the given values.
void
setConnection(string|null $connection)
Set the connection to be used.
Details
in
PresenceVerifierInterface at line 12
int
getCount(string $collection, string $column, string $value, int|string|null $excludeId = null, string|null $idColumn = null, array $extra = [])
Count the number of objects in a collection having the given value.
in
PresenceVerifierInterface at line 17
int
getMultiCount(string $collection, string $column, array $values, array $extra = [])
Count the number of objects in a collection with the given values.
at line 12
void
setConnection(string|null $connection)
Set the connection to be used.