Class FOFDatabaseQuerySqlsrv
Query Building Class.
- FOFDatabaseQuery
- FOFDatabaseQuerySqlsrv implements FOFDatabaseQueryLimitable
Direct known subclasses
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: 11.1
Located at fof/database/query/sqlsrv.php
Methods summary
public
string
|
|
public
string
|
|
public
string
|
#
charLength( string $field, string $operator = null, string $condition = null )
Gets the function to determine the length of a character string. |
public
string
|
#
concatenate( array $values, string $separator = null )
Concatenates an array of column names or values. |
public
string
|
|
public
integer
|
|
public
string
|
|
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. |
public
|
|
public
string
|
Methods inherited from FOFDatabaseQuery
__call()
,
__clone()
,
__construct()
,
__get()
,
call()
,
clear()
,
columns()
,
dateFormat()
,
day()
,
delete()
,
dump()
,
escape()
,
exec()
,
format()
,
from()
,
group()
,
having()
,
hour()
,
innerJoin()
,
insert()
,
join()
,
leftJoin()
,
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
string
|
$name_quotes |
#
The character(s) used to quote SQL statement names such as table names or field names, etc. The child classes should define this as necessary. If a single character string the same character is used for both sides of the quoted name, else the first character will be used for the opening quote and the second for the closing quote. |
protected
string
|
$null_date |
#
The null or zero representation of a timestamp for the database driver. This should be defined in child classes to hold the appropriate value for the engine. |
protected
integer
|
$limit |
#
The affected row limit for the current SQL statement. |
protected
integer
|
$offset |
#
The affected row offset to apply for the current SQL statement. |
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