Database: ezcQueryExpressionSqlite
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcQueryExpressionSqlite
|
The ezcQueryExpressionSqlite class is used to create SQL expression for SQLite. [
source]
This class reimplements the methods that have a different syntax in SQLite (substr) and contains PHP implementations of functions that are registered with SQLite with it's PDO::sqliteRegisterFunction() method.
Parents
ezcQueryExpression
|
--ezcQueryExpressionSqlite
Method Summary
|
public string |
subString(
$value, $from, [$len = null] )
Returns part of a string. |
Inherited Methods
From
ezcQueryExpression :
Methods
subString
string subString(
string
$value, int
$from, [int
$len = null] )
Returns part of a string.
Note: Not SQL92, but common functionality. SQLite only supports the 3 parameter variant of this function, so we are using 2^30-1 as artificial length in that case.
Parameters
| Name |
Type |
Description |
$value |
string |
the target $value the string or the string column. |
$from |
int |
extract from this characeter. |
$len |
int |
extract this amount of characters. |
Redefinition of
Last updated: Fri, 02 Nov 2007