get_column_ident
Description:
[ Version ( since = "3.4" ) ]
public static DBKnownColumnNames get_column_ident (ref HashTable<void*,void*> hash, int index, string[] col_names)
public static DBKnownColumnNames get_column_ident (ref HashTable<void*,void*> hash, int index, string[] col_names)
Traverses column name from index index into an enum
DBKnownColumnNames value.
The col_names contains col_names.length columns. First time this is called is created the hash from
col_names indexes into the enum, and this is reused for every other call. The function expects that column names are returned always in the same
order. When all rows are read the hash table can be freed with g_hash_table_destroy.
Parameters:
| hash | |
| index |
an index to start with, between 0 and |
| col_names |
column names to traverse |
| ncols |
number of |