public dropDatabase ( ) : boolean | ||
리턴 | boolean | whether operation was successful. |
public function dropDatabase()
{
$this->document = $this->db->getQueryBuilder()->dropDatabase();
$result = current($this->execute()->toArray());
return $result['ok'] > 0;
}