DatabasePresenceVerifierInterface
interface DatabasePresenceVerifierInterface implements PresenceVerifierInterface (View source)
Methods
int
getCount(string $collection, string $column, string $value, int|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 $connection)
Set the connection to be used.
Details
int
getCount(string $collection, string $column, string $value, int|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 $connection)
Set the connection to be used.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.