Class JDatabaseQuerySqlsrv
Query Building Class.
- JDatabaseQuery
- JDatabaseQuerySqlsrv implements JDatabaseQueryLimitable
Direct known subclasses
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/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
|
|
protected
array[]
|
#
splitSqlExpression( string $string )
Split a string of sql expression into an array of individual columns. Single line or line end comments and multi line comments are stripped off. Always return at least one column. |
protected
array[]
|
|
protected
|
|
public
string
|
Methods inherited from JDatabaseQuery
__call()
,
__clone()
,
__construct()
,
__get()
,
andWhere()
,
call()
,
clear()
,
columns()
,
dateFormat()
,
day()
,
delete()
,
dump()
,
escape()
,
exec()
,
extendWhere()
,
format()
,
from()
,
group()
,
having()
,
hour()
,
innerJoin()
,
insert()
,
join()
,
leftJoin()
,
minute()
,
month()
,
nullDate()
,
orWhere()
,
order()
,
outerJoin()
,
quote()
,
quoteName()
,
rightJoin()
,
second()
,
select()
,
selectRowNumber()
,
set()
,
setQuery()
,
union()
,
unionAll()
,
unionDistinct()
,
update()
,
validateRowNumber()
,
values()
,
where()
,
year()
Magic methods summary
Magic methods inherited from JDatabaseQuery
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 JDatabaseQuery
$autoIncrementField
,
$call
,
$columns
,
$db
,
$delete
,
$element
,
$exec
,
$from
,
$group
,
$having
,
$insert
,
$join
,
$order
,
$select
,
$selectRowNumber
,
$set
,
$sql
,
$type
,
$union
,
$unionAll
,
$update
,
$values
,
$where