Class FOFDatabaseQuerySqlite
SQLite Query Building Class.
- FOFDatabaseQuery
- FOFDatabaseQueryPdo
- FOFDatabaseQuerySqlite implements FOFDatabaseQueryPreparable, FOFDatabaseQueryLimitable
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt This file is adapted from the Joomla! Platform. It is used to iterate a database cursor returning FOFTable objects instead of plain stdClass objects
Since: 12.1
Located at fof/database/query/sqlite.php
Methods summary
public
|
#
bind( string|integer $key = null, mixed & $value = null, integer $dataType =
Method to add a variable to an internal array that will be bound to a prepared SQL statement before query execution. Also removes a variable that has been bounded from the internal bounded array when the passed in value is null. |
public
mixed
&
|
#
getBounded( mixed $key = null )
Retrieves the bound parameters array when key is null and returns it by reference. If a key is provided then that item is returned. |
public
string
|
#
charLength( string $field, string $operator = null, string $condition = null )
Gets the number of characters in a string. |
public
|
|
public
string
|
#
concatenate( array $values, string $separator = null )
Concatenates an array of column names or values. |
public
string
|
#
processLimit( string $query, integer $limit, integer $offset = 0 )
Method to modify a query already in string format with the needed additions to make the query limited to a particular number of results, or start at a particular offset. This method is used automatically by the __toString() method if it detects that the query implements the FOFDatabaseQueryLimitable interface. |
public
|
|
public
string
|
|
public
string
|
Methods inherited from FOFDatabaseQuery
__call()
,
__clone()
,
__construct()
,
__get()
,
__toString()
,
call()
,
castAsChar()
,
columns()
,
dateFormat()
,
day()
,
delete()
,
dump()
,
escape()
,
exec()
,
format()
,
from()
,
group()
,
having()
,
hour()
,
innerJoin()
,
insert()
,
join()
,
leftJoin()
,
length()
,
minute()
,
month()
,
nullDate()
,
order()
,
outerJoin()
,
quote()
,
quoteName()
,
rightJoin()
,
second()
,
select()
,
set()
,
setQuery()
,
union()
,
unionAll()
,
unionDistinct()
,
update()
,
values()
,
where()
,
year()
Magic methods summary
Magic methods inherited from FOFDatabaseQuery
Properties summary
protected
integer
|
$offset |
#
The offset for the result set. |
protected
integer
|
$limit |
#
The limit for the result set. |
protected
array
|
$bounded |
#
Bounded object array |
Properties inherited from FOFDatabaseQuery
$autoIncrementField
,
$call
,
$columns
,
$db
,
$delete
,
$element
,
$exec
,
$from
,
$group
,
$having
,
$insert
,
$join
,
$order
,
$select
,
$set
,
$sql
,
$type
,
$union
,
$unionAll
,
$update
,
$values
,
$where