+ // Dump the table contents
+ GdaDataModel *data_model;
+ GdaStatement *stmt = gda_sql_parser_parse_string(sql_parser, "SELECT * FROM stories", NULL, NULL);
+ data_model = gda_connection_statement_execute_select(cnc, stmt, NULL, &err);
+ if(!data_model)
+ g_error("Could not get the contents of the 'stories' table: %s\n", err && err->message ? err->message : "No details");
+ printf("Dumping library table:\n");
+ gda_data_model_dump(data_model, stdout);
+
+ g_object_unref(stmt);
+ g_object_unref(data_model);
+