map_connection


Description:

[ Version ( since = "3.3" ) ]
public void map_connection (string handle_name, Connection service_connection)

Maps a `TrackerSparqlConnection` onto another through a `private:handle_name` URI.

This can be accessed via the SERVICE SPARQL syntax in queries from this. E.g.:

```c tracker_sparql_connection_map_connection (connection, "other-connection", other_connection); ```

```sparql SELECT ?u { SERVICE <private:other-connection> { ?u a rdfs:Resource } } ```

This is useful to interrelate data from multiple `TrackerSparqlConnection` instances maintained by the same process, without creating a public endpoint for service_connection.

this may only be a `TrackerSparqlConnection` created via [ctor@SparqlConnection.new] and [ func@SparqlConnection.new_async].

Parameters:

this

A `TrackerSparqlConnection`

handle_name

Handle name for service_connection

service_connection

a `TrackerSparqlConnection` to use from this