public function deleteDb($name)
    {
        if (isset($name) && !empty(trim($name))) {
            $sql = "DROP DATABASE `{$name}` ";

            return $sql;
        } else {
            return false;
        }
    }
public function deleteDb($name)
    {
        if (isset($name) && !empty(trim($name))) {
            $sql = "DROP DATABASE `{$name}` ";

            return $sql;
        } else {
            return false;
        }
    }
public function deleteDb ( $ name ) { if ( isset ( $ name ) && ! empty ( trim ( $ name ) ) ) { $ sql = "DROP DATABASE `{$name}` " ; return $ sql ; } else { return false ; } }
Deleting database query if not exists.

@param $name name of database

@return query
Deleting database query if not exists .