Skip to content

Kirby 6.0.0

$sql->bindingName()

Returns a randomly generated binding name

$sql->bindingName(string $label): non-empty-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

non-empty-string

Binding name that is guaranteed to be unique for this connection

Parent class

Kirby\Database\Sql