Corentin Noël, elementary developerRegards,You also have a few examples in the source tree https://github.com/GNOME/Hi Pavlo,In elementary's music application, we are using gda_connection_new_from_string
https://github.com/elementary/music/blob/master/src/ LocalBackend/LocalLibrary. vala#L140 libgda/tree/master/examples 2017-09-11 21:04 GMT+02:00 Pavlo Solntsev <pavlo solntsev gmail com>:______________________________Hi,I am trying to create SQLIte DB. I used gda_server_operation_prepare_create_database (const gchar *provider,const gchar *db_name,GError **error);to obtain a GdaServerOperation object. provider = "SQLite"The returned pointer was checked for NULL.Then, I used gda_server_operation_perform_create_database to create DB. This function returns TRUE but I don't DB file. I was thinking, maybe format of db_name may somehow affect this? For now, I used the full path in UNIX notation with .db suffix, just a DB name with .db suffix. In all cases function returns TRUE but I don't see any DB file. Could you please clarify what would be correct use of GdaServerOperation functions to create DB? Thanks. -Pavlo Solntsev------------------------------------------------------------ ------------------------------ --- Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html _________________
gnome-db-list mailing list
gnome-db-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-db-list