85            'method not implemented', __FUNCTION__);
 
  116    function now($type = 
'timestamp')
 
  120            return 'CURRENT_TIME';
 
  122            return 'CURRENT_DATE';
 
  125            return 'CURRENT_TIMESTAMP';
 
  138    function substring($value, $position = 1, $length = 
null)
 
  140        if (!is_null($length)) {
 
  141            return "SUBSTRING($value FROM $position FOR $length)";
 
  143        return "SUBSTRING($value FROM $position)";
 
  160        $args = func_get_args();
 
  161        return "(".implode(
' || ', $args).
")";
 
  190        return "LOWER($expression)";
 
  205        return "UPPER($expression)";
 
  225            'method not implemented', __FUNCTION__);
 
const MDB2_ERROR_UNSUPPORTED
An exception for terminatinating execution or to throw for unit testing.
upper($expression)
return string to call a function to upper the case of an expression
concat($value1, $value2)
Returns string to concatenate two or more string parameters.
guid()
Returns global unique identifier.
lower($expression)
return string to call a function to lower the case of an expression
random()
return string to call a function to get random value inside an SQL statement
& executeStoredProc($name, $params=null, $types=null, $result_class=true, $result_wrap_class=false)
Execute a stored procedure and return any results.
functionTable()
return string for internal table used when calling only a function
substring($value, $position=1, $length=null)
return string to call a function to get a substring inside an SQL statement
now($type='timestamp')
Return string to call a variable with the current timestamp inside an SQL statement There are three s...
& getDBInstance()
Get the instance of MDB2 associated with the module instance.
isError($data, $code=null)
Tell whether a value is a PEAR error.