create_db_catalog


Description:

[ Version ( since = "6.0" ) ]
public DbCatalog create_db_catalog ()

A convenient method to create a new DbCatalog instance and set the current this as a property.

If for some reason, this approach doesn't fit well, the same task can be achieved by the following code:

GdaDbCatalog *catalog = gda_db_catalog_new (); g_object_set (catalog, "connection", cnc, NULL);

Parameters:

this

A Connection object to use

Returns:

A new instance of DbCatalog. The new object should be deallocated using unref.




2022 vala-language.org