just another orm...
View the Project on GitHub tflori/orm
» API Reference » ORM\Dbal\Escaping
public function escapeIdentifier(
string|\ORM\Dbal\Expression $identifier,
): string
| Returns | string |
| Parameter | Type | Description | |
|---|---|---|---|
$identifier |
**string | ORM\Dbal\Expression** | Identifier to quote |
ORM\Dbal\Escaping::escapeIdentifier
public function escapeValue(mixed $value): string
| Returns | string | |
| Throws | ORM\Exception\NotScalar |
| Parameter | Type | Description |
|---|---|---|
$value |
mixed | The variable that should be returned in SQL syntax |
ORM\Dbal\Escaping::escapeValue