prepare_drop_database


Description:

[ Version ( since = "4.2.3" ) ]
public static ServerOperation? prepare_drop_database (string provider, string? db_name) throws Error

Creates a new ServerOperation object which contains the specifications required to drop a database.

Once these specifications provided, use perform_drop_database 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 ServerOperation using gda_server_operation_set_value_at.

Parameters:

provider

the database provider to use

db_name

the name of the database to drop, or null

Returns:

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




2022 vala-language.org