« Session::createSchema
Session::generateUUID »

Session::dropSchema

(No version information available, might only be in Git)

Session::dropSchema — スキーマを削除します

説明

public function mysql_xdevapi\Session::dropSchema(string $schema_name): bool

スキーマ(データベース)を削除します。

パラメータ

schema_name

削除するスキーマ

戻り値

スキーマが削除されたら true を返します。 スキーマが存在しないか、削除できない場合は false を返します。

An E_WARNING level error is generated if the schema does not exist.

例

例1 mysql_xdevapi\Session::dropSchema() の例

<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$session->dropSchema("addressbook");

$session->close();
?>
関連キーワード:
スキーマ   Session   dropSchema   mysql   xdevapi   schema   session   createSchema   generateUUID   information   available   データベース   level   exist   getSession   mysqlx   user   password   localhost   addressbook
関連する関数・ページ:
mysql-xdevapi-session.getschema   mysql-xdevapi-session.createschema   mysql-xdevapi-session.getdefaultschema   class.mysql-xdevapi-session   mysql-xdevapi-session.getschemas   mysql-xdevapi-session.generateuuid