| Versionen | |
|---|---|
| drupal7 | public DatabaseConnection_sqlite::sqlFunctionIf($condition, $expr1, $expr2 = NULL) |
SQLite compatibility implementation for the IF() SQL function.
includes/
<?php
public function sqlFunctionIf($condition, $expr1, $expr2 = NULL) {
return $condition ? $expr1 : $expr2;
}
?>
Kommentare
Kommentar hinzufügen