static string concatImpl(
)
|
|
Returns a concatenation of the data that SQLite's concat() function receives.
API Tags:
static string locateImpl(
string
$substr, string
$str
)
|
|
locate returns the position of the first occurrence of substring $substr in string $str that SQLite's locate() function receives
Parameters:
string |
$substr: |
literal string to find |
string |
$str: |
literal string |
API Tags:
static void ltrimImpl(
$str
)
|
|
Parameters:
API Tags:
static string md5Impl(
mixed
$data
)
|
|
Returns the md5 sum of the data that SQLite's md5() function receives.
Parameters:
API Tags:
static string modImpl(
integer
$dividend, integer
$divisor
)
|
|
Returns the modules of the data that SQLite's mod() function receives.
Parameters:
integer |
$dividend: |
|
integer |
$divisor: |
|
API Tags:
static void rtrimImpl(
$str
)
|
|
Parameters:
API Tags:
static void sha1Impl(
$str
)
|
|
Parameters:
API Tags:
static void trimImpl(
$str
)
|
|
Parameters:
API Tags:
string now(
[
$type = 'timestamp']
)
|
|
Return string to call a variable with the current timestamp inside an SQL statement There are three special variables for current date and time.
Parameters:
API Tags:
Return: | sqlite function as string |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::now()
- Returns the current system date.
return string to call a function to get random value inside an SQL statement
API Tags:
Return: | to generate float between 0 and 1 |
Access: | public |
string soundex(
string
$value
)
|
|
soundex Returns a string to call a function to compute the soundex encoding of a string
The string "?000" is returned if the argument is NULL.
Parameters:
API Tags:
Return: | SQL soundex function with given parameter |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::soundex()
- soundex Returns a string to call a function to compute the soundex encoding of a string
string substring(
string
$value, integer
$position, [integer
$length = null]
)
|
|
return string to call a function to get a substring inside an SQL statement
Note: Not SQL92, but common functionality.
SQLite only supports the 2 parameter variant of this function
Parameters:
string |
$value: |
an sql string literal or column name/alias |
integer |
$position: |
where to start the substring portion |
integer |
$length: |
the substring portion length |
API Tags:
Return: | SQL substring function with given parameters |
Access: | public |
Redefinition of:
- Doctrine_Expression_Driver::substring()
- return string to call a function to get a substring inside an SQL statement