fragment_downloaded_cb({"url":"tracker-sparql-connection.html#tracker_sparql_connection_new","fragment":"\n\ttracker_sparql_connection_new\n\n\n\tTracker.SparqlConnection.prototype.new\n\n\n\tTracker.SparqlConnection.new\n\nCreates or opens a database.\nThis method should only be used for databases owned by the current process.\nTo connect to databases managed by other processes, use\ntracker_sparql_connection_bus_new.\nIf store is NULL, the database will be created in memory.\nThe ontologies parameter must point to a location containing suitable\n.ontology files in Turtle format. These control the database schema that\nis used. You can use the default Nepomuk ontologies by calling\ntracker_sparql_get_ontology_nepomuk ().\nIf you open an existing database using a different ontology to the one it\nwas created with, Tracker will attempt to migrate the existing data to the\nnew schema. This may raise an error. In particular, not all migrations are\npossible without causing data loss and Tracker will refuse to delete data\nduring a migration.\nYou can also pass NULL for ontologies to mean \"use the ontologies that the\ndatabase was created with\". This will fail if the database doesn't already\nexist.\nParameters:\nvalues from TrackerSparqlConnectionFlags\nthe directory that contains the database as a GFile, or NULL\nthe directory that contains the database schemas as a GFile, or NULL\na GCancellable, or NULL\npointer to a GError\na new TrackerSparqlConnection. Call\ng_object_unref on the object when no longer used.\n\n\tSince\t\t\t: 3.0\n\t\t\nCreates or opens a database.\nThis method should only be used for databases owned by the current process.\nTo connect to databases managed by other processes, use\nTracker.SparqlConnection.prototype.bus_new.\nIf store is null, the database will be created in memory.\nThe ontologies parameter must point to a location containing suitable\n.ontology files in Turtle format. These control the database schema that\nis used. You can use the default Nepomuk ontologies by calling\ntracker_sparql_get_ontology_nepomuk ().\nIf you open an existing database using a different ontology to the one it\nwas created with, Tracker will attempt to migrate the existing data to the\nnew schema. This may raise an error. In particular, not all migrations are\npossible without causing data loss and Tracker will refuse to delete data\nduring a migration.\nYou can also pass null for ontologies to mean \"use the ontologies that the\ndatabase was created with\". This will fail if the database doesn't already\nexist.\nParameters:\nvalues from Tracker.SparqlConnectionFlags\nthe directory that contains the database as a Gio.File, or null\nthe directory that contains the database schemas as a Gio.File, or null\na Gio.Cancellable, or null\na new Tracker.SparqlConnection. Call\nGObject.Object.prototype.unref on the object when no longer used.\n\n\tSince\t\t\t: 3.0\n\t\t\nCreates or opens a database.\nThis method should only be used for databases owned by the current process.\nTo connect to databases managed by other processes, use\nTracker.SparqlConnection.bus_new.\nIf store is None, the database will be created in memory.\nThe ontologies parameter must point to a location containing suitable\n.ontology files in Turtle format. These control the database schema that\nis used. You can use the default Nepomuk ontologies by calling\ntracker_sparql_get_ontology_nepomuk ().\nIf you open an existing database using a different ontology to the one it\nwas created with, Tracker will attempt to migrate the existing data to the\nnew schema. This may raise an error. In particular, not all migrations are\npossible without causing data loss and Tracker will refuse to delete data\nduring a migration.\nYou can also pass None for ontologies to mean \"use the ontologies that the\ndatabase was created with\". This will fail if the database doesn't already\nexist.\nParameters:\nvalues from Tracker.SparqlConnectionFlags\nthe directory that contains the database as a Gio.File, or None\nthe directory that contains the database schemas as a Gio.File, or None\na Gio.Cancellable, or None\na new Tracker.SparqlConnection. Call\nGObject.Object.unref on the object when no longer used.\n\n\tSince\t\t\t: 3.0\n\t\t\n"});