final class Translator

SQL translator.

Methods

__construct(Connection $connection)

No description

string
translate(array $args)

Generates SQL. Can be called only once.

string
formatValue($value, $modifier)

Apply modifier to single value.

string
delimite($value)

Apply substitutions to indentifier and delimites it.

Details

at line 52
__construct(Connection $connection)

No description

Parameters

Connection $connection

at line 66
string translate(array $args)

Generates SQL. Can be called only once.

Parameters

array $args

Return Value

string

Exceptions

Exception

at line 175
string formatValue($value, $modifier)

Apply modifier to single value.

Parameters

$value
$modifier

Return Value

string

at line 613
string delimite($value)

internal  
 

Apply substitutions to indentifier and delimites it.

Parameters

$value

Return Value

string

Traits

Better OOP experience.