API17

JDatabaseMySQL::queryBatch: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
Line 2: Line 2:
=={{JVer|11.1}} JDatabaseMySQL::queryBatch==
=={{JVer|11.1}} JDatabaseMySQL::queryBatch==
===Description===
===Description===
Execute a batch query.  
Execute a query batch.  


{{Description:JDatabaseMySQL::queryBatch}}
{{Description:JDatabaseMySQL::queryBatch}}
Line 8: Line 8:
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::queryBatch|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::queryBatch|Edit Descripton]]<nowiki>]</nowiki>
</span>
</span>
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQL::queryBatch ($abort_on_error=true, $p_transaction_safe=false)
public function queryBatch (
        $abortOnError=true
        $transactionSafe=false
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 19: Line 21:
!Description
!Description
|-
|-
|$abort_on_error
|$abortOnError
|
|
|true
|true
|
|
|-
|-
|$p_transaction_safe
|$transactionSafe
|
|
|false
|false
Line 30: Line 32:
|-
|-
|}
|}
===Returns===
* '''Returns''' mixed A database resource if successful, false if not.
mixed A database resource if successful, FALSE if not.
* '''Defined''' on line 702 of libraries/joomla/database/database/mysql.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysql.php (line 267)
* see source code in [[jplatform:database/database/mysql.php#cl-267|BitBucket]]
===Referenced by===
===See also===
===See also===
* {{JVer|11.1}} '''JDatabaseMySQL::queryBatch source code''' on [[jplatform:database/database/mysql.php#cl-694|BitBucket]]
* {{JVer|11.1}} Class [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
* [[JDatabaseMySQL::queryBatch|Other versions of JDatabaseMySQL::queryBatch]]
{{SeeAlso:JDatabaseMySQL::queryBatch}}
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::queryBatch|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::queryBatch|Edit See Also]]<nowiki>]</nowiki>
</span>
</span>
* [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
===User contributed notes===
* [[JDatabaseMySQL::queryBatch|Other versions of this method]]
{{SeeAlso:JDatabaseMySQL::queryBatch}}
===Examples===
<CodeExamplesForm />
<CodeExamplesForm />
<dpl>
<dpl>
Line 51: Line 52:
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::queryBatch]]</noinclude>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::queryBatch]]</noinclude>

Revision as of 01:32, 28 April 2011

Joomla 11.1 JDatabaseMySQL::queryBatch

Description

Execute a query batch.

Template:Description:JDatabaseMySQL::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 702 of libraries/joomla/database/database/mysql.php
  • Since Joomla 11.1

See also

Template:SeeAlso:JDatabaseMySQL::queryBatch [Edit See Also]

User contributed notes

<CodeExamplesForm />