Class JDatabaseQuerySqlite
SQLite Query Building Class.
- JDatabaseQuery
- JDatabaseQueryPdo
- JDatabaseQuerySqlite implements JDatabaseQueryPreparable, JDatabaseQueryLimitable
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
Located at joomla/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 JDatabaseQueryLimitable interface. |
public
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
#
selectRowNumber( string $orderBy, string $orderColumnAlias )
Return the number of the current row. |
Methods inherited from JDatabaseQueryPdo
Methods inherited from JDatabaseQuery
__call()
,
__clone()
,
__construct()
,
__get()
,
andWhere()
,
call()
,
columns()
,
dateFormat()
,
day()
,
delete()
,
dump()
,
escape()
,
exec()
,
extendWhere()
,
format()
,
from()
,
group()
,
having()
,
hour()
,
innerJoin()
,
insert()
,
join()
,
leftJoin()
,
length()
,
minute()
,
month()
,
nullDate()
,
orWhere()
,
order()
,
outerJoin()
,
quote()
,
quoteName()
,
rightJoin()
,
second()
,
select()
,
set()
,
setQuery()
,
union()
,
unionAll()
,
unionDistinct()
,
update()
,
validateRowNumber()
,
values()
,
where()
,
year()
Magic methods summary
Magic methods inherited from JDatabaseQuery
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 JDatabaseQuery
$autoIncrementField
,
$call
,
$columns
,
$db
,
$delete
,
$element
,
$exec
,
$from
,
$group
,
$having
,
$insert
,
$join
,
$order
,
$select
,
$selectRowNumber
,
$set
,
$sql
,
$type
,
$union
,
$unionAll
,
$update
,
$values
,
$where