mirror of
https://github.com/dg/dibi.git
synced 2025-08-12 00:54:11 +02:00
- DibiTranslator: added brackets for %and %or (thanks to Jiri Sutera)
- DibiMySqlDriver: added common error constants
This commit is contained in:
@@ -234,7 +234,7 @@ final class DibiTranslator extends DibiObject
|
||||
$vx[] = $this->formatValue($v, 'ex');
|
||||
}
|
||||
}
|
||||
return implode(' ' . strtoupper($modifier) . ' ', $vx);
|
||||
return '(' . implode(') ' . strtoupper($modifier) . ' (', $vx) . ')';
|
||||
|
||||
case 'n': // identifier names
|
||||
foreach ($value as $k => $v) {
|
||||
|
Reference in New Issue
Block a user