Skip to content

IdentifierAware

  • Full name: \Qubus\Expressive\Traits\IdentifierAware

Methods

quoteIdentifier

public quoteIdentifier(string $identifier): string

Parameters:

Parameter Type Description
$identifier string

quote

Quote a value for an SQL query.

public quote(float|array|bool|int|string|null $value = null): int|string

Objects passed to this function will be converted to strings. Expression objects will use the value of the expression. Query objects will be compiled and converted to a sub-query. Fnc objects will be sent of for compiling. All other objects will be converted using the __toString method.

Parameters:

Parameter Type Description
$value float|array|bool|int|string|null any value to quote


Automatically generated on 2025-10-13