Skip to content

Kirby 5.0.4

$sql->bindingName()

Returns a randomly generated binding name

$sql->bindingName(string $label): string

Parameters

Name Type Default Description
$labelrequired string no default value String that only contains alphanumeric chars and
underscores to use as a human-readable identifier

Return type

string

Binding name that is guaranteed to be unique for this connection

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

Parent class

Kirby\Database\Sql