function DB_mysql::dropSequence in Flickr API 5
Deletes a sequence
DB_mysql::nextID(), DB_mysql::createSequence()
Parameters
string $seq_name name of the sequence to be deleted:
Return value
int DB_OK on success. A DB_Error object on failure.
Overrides DB_common::dropSequence
See also
DB_common::dropSequence(), DB_common::getSequenceName(),
File
- phpFlickr/
PEAR/ DB/ mysql.php, line 693
Class
- DB_mysql
- The methods PEAR DB uses to interact with PHP's mysql extension for interacting with MySQL databases
Code
function dropSequence($seq_name) {
return $this
->query('DROP TABLE ' . $this
->getSequenceName($seq_name));
}