Spanner/src/Database.php
public function drop(array $options = [])
    {
        $this->connection->dropDatabase($options + [
            'name' => $this->name
        ]);

        if ($this->sessionPool) {
            $this->sessionPool->clear();
        }

        if ($this->session) {
            $this->session->delete($options);
            $this->session = null;
        }
    }
public function drop(array $options = [])
    {
        $this->connection->dropDatabase($options + [
            'name' => $this->name
        ]);

        if ($this->sessionPool) {
            $this->sessionPool->clear();
        }

        if ($this->session) {
            $this->session->delete($options);
            $this->session = null;
        }
    }
public function drop ( array $ options = [ ] ) { $ this -> connection -> dropDatabase ( $ options + [ 'name' => $ this -> name ] ) ; if ( $ this -> sessionPool ) { $ this -> sessionPool -> clear ( ) ; } if ( $ this -> session ) { $ this -> session -> delete ( $ options ) ; $ this -> session = null ; } }
Drop the database.

Please note that after a database is dropped, all sessions attached to it
will be invalid and unusable. Calls to this method will clear any session
pool attached to this database class instance and delete any sessions
attached to the database class instance.

**NOTE**: Requires `https://www.googleapis.com/auth/spanner.admin` scope.

Example:
```
$database->drop();
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.DropDatabaseRequest DropDatabaseRequest
@codingStandardsIgnoreEnd

@param array $options [optional] Configuration options.
@return void
Drop the database .