Документация по Joomla 1.7

Joomla.Platform\JDatabaseQueryMySQLi
libraries/joomla/database/database/mysqliquery.php at line 21

Class JDatabaseQueryMySQLi

JDatabaseQuery
└─JDatabaseQueryMySQLi

public class JDatabaseQueryMySQLi
extends JDatabaseQuery

Query Building Class.

Subpackage:
Database
Since:
11.1

Field Summary
protected string

$name_quotes

The character(s) used to quote SQL statement names such as table names or field names, etc.

protected string

$null_date

The null or zero representation of a timestamp for the database driver.

Fields inherited from Joomla.Platform\JDatabaseQuery
columns, db, delete, element, from, group, having, insert, join, order, select, set, type, update, values, where
Method Summary
string

concatenate(array values, string separator)

Concatenates an array of column names or values.

Methods inherited from Joomla.Platform\JDatabaseQuery
__call, __construct, __get, __toString, castAsChar, charLength, clear, columns, concatenate, currentTimestamp, dateFormat, delete, escape, from, group, having, innerJoin, insert, join, leftJoin, length, nullDate, order, outerJoin, quote, quoteName, rightJoin, select, set, update, values, where

Field Detail

libraries/joomla/database/database/mysqliquery.php at line 32

name_quotes

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.

Since:
11.1

libraries/joomla/database/database/mysqliquery.php at line 41

null_date

protected string $null_date = '0000-00-00 00:00:00'

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.

Since:
11.1

Method Detail

libraries/joomla/database/database/mysqliquery.php at line 53

concatenate

public string concatenate(array values, string separator)

Concatenates an array of column names or values.

Parameters:
values - An array of values to concatenate.
separator - As separator to place between each value.
Returns:
The concatenated values.
Since:
11.1

Документация по Joomla 1.7