API17:JDatabaseMySQLi::queryBatch
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseMySQLi::queryBatch== | =={{JVer|11.1}} JDatabaseMySQLi::queryBatch== | ||
===Description=== | ===Description=== | ||
| − | Execute a | + | Execute a query batch. |
{{Description:JDatabaseMySQLi::queryBatch}} | {{Description:JDatabaseMySQLi::queryBatch}} | ||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::queryBatch|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseMySQLi::queryBatch|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function queryBatch ( |
| + | $abortOnError=true | ||
| + | $transactionSafe=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 19: | Line 21: | ||
!Description | !Description | ||
|- | |- | ||
| − | |$ | + | |$abortOnError |
| | | | ||
|true | |true | ||
| | | | ||
|- | |- | ||
| − | |$ | + | |$transactionSafe |
| | | | ||
|false | |false | ||
| Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed A database resource if successful, false if not. | |
| − | mixed A database resource if successful, | + | * '''Defined''' on line 724 of libraries/joomla/database/database/mysqli.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/database/database/mysqli.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDatabaseMySQLi::queryBatch source code''' on [[jplatform:database/database/mysqli.php#cl-716|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JDatabaseMySQLi::queryBatch|Other versions of JDatabaseMySQLi::queryBatch]] | ||
| + | {{SeeAlso:JDatabaseMySQLi::queryBatch}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::queryBatch|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::queryBatch|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 51: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::queryBatch]]</noinclude> | <noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::queryBatch]]</noinclude> | ||
Revision as of 20:33, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDatabaseMySQLi::queryBatch
Description
Execute a query batch.
Description:JDatabaseMySQLi::queryBatch [Edit Descripton]
public function queryBatch ( $abortOnError=true $transactionSafe=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $abortOnError | true | ||
| $transactionSafe | false |
- Returns mixed A database resource if successful, false if not.
- Defined on line 724 of libraries/joomla/database/database/mysqli.php
- Since
See also
-
JDatabaseMySQLi::queryBatch source code on BitBucket
-
Class JDatabaseMySQLi
-
Subpackage Database
- Other versions of JDatabaseMySQLi::queryBatch
SeeAlso:JDatabaseMySQLi::queryBatch [Edit See Also]
User contributed notes
<CodeExamplesForm />
