prepare_create_database


Description:

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

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

Once these specifications are provided, use perform_create_database to perform the database creation.

If db_name is left null, then the name of the database to create 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 create, or null

Returns:

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