Difference between revisions of "JDatabaseQuery"
From Joomla! Documentation
(Layout updates) |
m (moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JDatabaseQuery== | ||
+ | ===Description=== | ||
+ | {{Description:JDatabaseQuery}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JDatabaseQuery|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseQuery|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JDatabaseQuery::__toString | + | |public |
+ | |[[API17:JDatabaseQuery::__toString|__toString]] | ||
|Magic function to convert the query to a string. | |Magic function to convert the query to a string. | ||
|- | |- | ||
− | |[[JDatabaseQuery::clear | + | |public |
+ | |[[API17:JDatabaseQuery::auto_increment|auto_increment]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::castToChar|castToChar]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::charLength|charLength]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::clear|clear]] | ||
|Clear data from the query or a specific clause of the query. | |Clear data from the query or a specific clause of the query. | ||
|- | |- | ||
− | |[[JDatabaseQuery::delete | + | |public |
− | | | + | |[[API17:JDatabaseQuery::concat|concat]] |
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::delete|delete]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::dropIfExists|dropIfExists]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::fields|fields]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::from|from]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::group|group]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::having|having]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::innerJoin|innerJoin]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::insert|insert]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::insertInto|insertInto]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::join|join]] | ||
+ | | | ||
+ | |- | ||
+ | |public | ||
+ | |[[API17:JDatabaseQuery::leftJoin|leftJoin]] | ||
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::length|length]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::lock|lock]] |
+ | |Method to lock the database table for writing. | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::now|now]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::order|order]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::outerJoin|outerJoin]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::renameTable|renameTable]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::rightJoin|rightJoin]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::select|select]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::set|set]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::showTables|showTables]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::unlock|unlock]] |
+ | |Method to unlock the database table for writing. | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::update|update]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery:: | + | |public |
− | | | + | |[[API17:JDatabaseQuery::values|values]] |
+ | | | ||
|- | |- | ||
− | |[[JDatabaseQuery::where | + | |public |
− | | | + | |[[API17:JDatabaseQuery::where|where]] |
+ | | | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/database/databasequery.php | ||
+ | * '''Extended by''' | ||
+ | ** [[API17:JDatabaseQueryMySQL|JDatabaseQueryMySQL]] | ||
+ | ** [[API17:JDatabaseQueryMySQLi|JDatabaseQueryMySQLi]] | ||
+ | ** [[API17:JDatabaseQuerySQLAzure|JDatabaseQuerySQLAzure]] | ||
+ | ** [[API17:JDatabaseQuerySQLSrv|JDatabaseQuerySQLSrv]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.database.databasequery' );</source> | <source lang="php">jimport( 'joomla.database.databasequery' );</source> | ||
===See also=== | ===See also=== | ||
− | * JDatabaseQuery source code | + | * {{JVer|11.1}} '''JDatabaseQuery source code''' on [[jplatform:database/databasequery.php|BitBucket]] |
− | * [[JDatabaseQuery|Other versions of | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] |
+ | * [[API17:JDatabaseQuery|Other versions of JDatabaseQuery]] | ||
{{SeeAlso:JDatabaseQuery}} | {{SeeAlso:JDatabaseQuery}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseQuery|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 86: | Line 162: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 20:13, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabaseQuery[edit]
Description[edit]
Template:Description:JDatabaseQuery [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __toString | Magic function to convert the query to a string. |
public | auto_increment | |
public | castToChar | |
public | charLength | |
public | clear | Clear data from the query or a specific clause of the query. |
public | concat | |
public | delete | |
public | dropIfExists | |
public | fields | |
public | from | |
public | group | |
public | having | |
public | innerJoin | |
public | insert | |
public | insertInto | |
public | join | |
public | leftJoin | |
public | length | |
public | lock | Method to lock the database table for writing. |
public | now | |
public | order | |
public | outerJoin | |
public | renameTable | |
public | rightJoin | |
public | select | |
public | set | |
public | showTables | |
public | unlock | Method to unlock the database table for writing. |
public | update | |
public | values | |
public | where |
- Defined in libraries/joomla/database/databasequery.php
- Extended by
Importing[edit]
jimport( 'joomla.database.databasequery' );
See also[edit]
- JDatabaseQuery source code on BitBucket
- Subpackage Database
- Other versions of JDatabaseQuery
Template:SeeAlso:JDatabaseQuery [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />