extract_v


Description:

[ CCode ( cname = "gda_meta_store_extract" ) ]
public DataModel? extract_v (MetaStore store, string select_sql, ...) throws Error

Extracts some data stored in this using a custom SELECT query.

If the select_sql filter involves SQL identifiers (such as table or column names), then the values should have been adapted using sql_identifier_quote.

For more information about SQL identifiers are represented in this, see the meta data section about SQL identifiers.

Parameters:

this

a MetaStore object

select_sql

a SELECT statement

...

a list of (variable name (gchar *), GValue *value) terminated with NULL, representing values for all the variables mentioned in select_sql. If there is no variable then this part can be omitted.

error

a place to store errors, or null

Returns:

a new DataModel, or null if an error occurred