Skip to content

Kirby 5.0.4

$mysql->bindingName()

Returns a randomly generated binding name

$mysql->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 $mysql object it is applied to and returns it again.

Parent class

Kirby\Database\Sql\Mysql inherited from Kirby\Database\Sql