Skip to content

Kirby 5.0.4

$sql->select()

Builds a select clause

$sql->select(array $params = [ ]): array

Parameters

Name Type Default Description
$params array [ ] List of parameters for the select clause. Check out the defaults for more info.

Return type

array

An array with the query and the bindings

This method modifies the existing $sql object it is applied to and returns it again.

Parent class

Kirby\Database\Sql