Top | ![]() |
![]() |
![]() |
![]() |
GList * | gda_string_hash_to_list () |
gchar * | gda_default_escape_string () |
gchar * | gda_file_load () |
gboolean | gda_file_save () |
gint | gda_server_provider_get_schema_nb_columns () |
gboolean | gda_server_provider_init_schema_model () |
GList *
gda_string_hash_to_list (GHashTable *hash_table
);
Creates a new list of strings, which contains all keys of a given hash table. After using it, you should free this list by calling g_list_free.
gchar *
gda_default_escape_string (const gchar *string
);
Escapes string
to make it understandable by a DBMS. The escape method is very common and replaces any
occurence of "'" with "\'" and "\" with "\".
gchar *
gda_file_load (const gchar *filename
);
Loads a file, specified by the given uri
, and returns the file
contents as a string.
It is the caller's responsibility to free the returned value.
gboolean gda_file_save (const gchar *filename
,const gchar *buffer
,gint len
);
Saves a chunk of data into a file.
gint
gda_server_provider_get_schema_nb_columns
(GdaConnectionSchema schema
);
gboolean gda_server_provider_init_schema_model (GdaDataModel *model
,GdaConnectionSchema schema
);
Sets the column attributes of model
for the requested schema