JDatabase::splitSql
From Joomla! Documentation
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.
JDatabase::splitSql[edit]
Description[edit]
Splits a string of multiple queries into an array of individual queries.
public static function splitSql ($sql)
Parameter | Type | Default | Description |
---|---|---|---|
$sql | string | Input SQL string with which to split into individual queries. |
- Returns array The queries from the input string separated into an array.
- Defined on line 358 of libraries/joomla/database/database.php
- Since
See also[edit]
JDatabase::splitSql source code on BitBucket
Class JDatabase
Subpackage Database
- Other versions of JDatabase::splitSql
User contributed notes[edit]
Code Examples[edit]