[ CCode ( cname = "gda_meta_store_extract_v" ) ]
[ Version ( since = "4.2.6" ) ]
public DataModel extract (string select_sql, HashTable<string,Value?>? vars) 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 <link linkend="information_schema:sql_identifiers">meta data section about SQL identifiers</link>.
this |
a MetaStore object |
select_sql |
a SELECT statement |
vars |
a hash table with all variables names as keys and GValue* as value, representing values for all the variables mentioned in |
a new DataModel, or null if an error occurred |