ServerOperation.prepareDropDatabase

Creates a new #GdaServerOperation object which contains the specifications required to drop a database. Once these specifications provided, use gda.server_operation.ServerOperation.performDropDatabase to perform the database creation.

If db_name is left null, then the name of the database to drop will have to be set in the returned #GdaServerOperation using gda.server_operation.ServerOperation.setValueAt.

class ServerOperation
static
prepareDropDatabase
(
string provider
,
string dbName = null
)

Parameters

provider string

the database provider to use

dbName string

the name of the database to drop, or null

Return Value

Type: gda.server_operation.ServerOperation

new #GdaServerOperation object, or null if the provider does not support database destruction

Throws