mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 22:26:43 +02:00
- REWRITTEN DibiTranslar
- allows modifiers inside SQL -> modifiers become placeholders - new modifier %ex - expand array - new modifiers %or and %and - changed interface IDibiVariable and implementation DibiVariable
This commit is contained in:
@@ -28,11 +28,11 @@ interface IDibiVariable
|
||||
/**
|
||||
* Format for SQL
|
||||
*
|
||||
* @param object destination IDibiDriver
|
||||
* @param object DibiTranslator
|
||||
* @param string optional modifier
|
||||
* @return string SQL code
|
||||
*/
|
||||
public function toSql(IDibiDriver $driver, $modifier);
|
||||
public function toSql(DibiTranslator $translator, $modifier);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user