DB


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.58" ) ]
public DB (string filename) throws Error

Creates a new DB instance and calls open to open a database file.

Free the returned object with unref, when no longer needed.

Parameters:

filename

A file name with the database to open/create

Returns:

A new DB instance, or null on error