array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'mysql-xdevapi-session.dropschema.php', 1 => 'Session::dropSchema', ), 'up' => array ( 0 => 'class.mysql-xdevapi-session.php', 1 => 'mysql_xdevapi\\Session', ), 'prev' => array ( 0 => 'mysql-xdevapi-session.createschema.php', 1 => 'Session::createSchema', ), 'next' => array ( 0 => 'mysql-xdevapi-session.generateuuid.php', 1 => 'Session::generateUUID', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mysql_xdevapi/mysql_xdevapi/session/dropschema.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(No version information available, might only be in Git)
Session::dropSchema — Drop a schema
Drop a schema (database).
schema_name
Name of the schema to drop.
true
if the schema is dropped, or false
if it does not exist
or can't be dropped.
An E_WARNING
level error is generated if the
schema does not exist.
Exemplo #1 mysql_xdevapi\Session::dropSchema() example
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$session->dropSchema("addressbook");
$session->close();
?>