AbstractQuery
- Full name:
\PhalconKit\Mvc\Controller\Traits\Abstracts\AbstractQuery
Methods
initializeFind
public initializeFind(): void
setFind
public setFind(?\Phalcon\Support\Collection $find): void
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?\Phalcon\Support\Collection | |
getFind
public getFind(): ?\Phalcon\Support\Collection
find
public find(?array $find = null): mixed
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
findWith
public findWith(?array $with = null, ?array $find = null): array
- This method is abstract. Parameters:
| Parameter | Type | Description |
$with | ?array | |
$find | ?array | |
findFirst
public findFirst(?array $find = null): \Phalcon\Mvc\ModelInterface|false|null
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
findFirstWith
public findFirstWith(?array $with = null, ?array $find = null): ?\Phalcon\Mvc\ModelInterface
- This method is abstract. Parameters:
| Parameter | Type | Description |
$with | ?array | |
$find | ?array | |
average
public average(?array $find = null): \Phalcon\Mvc\Model\ResultsetInterface|float|false
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
count
public count(?array $find = null): \Phalcon\Mvc\Model\ResultsetInterface|int|false
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
sum
public sum(?array $find = null): \Phalcon\Mvc\Model\ResultsetInterface|float|false
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
maximum
public maximum(?array $find = null): \Phalcon\Mvc\Model\ResultsetInterface|float|false
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
minimum
public minimum(?array $find = null): \Phalcon\Mvc\Model\ResultsetInterface|float|false
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
getCalculationFind
protected getCalculationFind(?array $find = null): array
- This method is abstract. Parameters:
| Parameter | Type | Description |
$find | ?array | |
generateBindKey
public generateBindKey(string $prefix): string
- This method is abstract. Parameters:
| Parameter | Type | Description |
$prefix | string | |