diff --git a/lib/src/store/rocksdb.rs b/lib/src/store/rocksdb.rs index 416855bf..6e5eff52 100644 --- a/lib/src/store/rocksdb.rs +++ b/lib/src/store/rocksdb.rs @@ -40,8 +40,9 @@ use std::str; /// assert_eq!(vec![quad], results.unwrap()); /// /// // SPARQL query -/// let prepared_query = connection.prepare_query("SELECT ?s WHERE { ?s ?p ?o }", QueryOptions::default()).unwrap(); -/// let results = prepared_query.exec().unwrap(); +/// let options = QueryOptions::default(); +/// let prepared_query = connection.prepare_query("SELECT ?s WHERE { ?s ?p ?o }", None).unwrap(); +/// let results = prepared_query.exec(&options).unwrap(); /// if let QueryResult::Bindings(results) = results { /// assert_eq!(results.into_values_iter().next().unwrap().unwrap()[0], Some(ex.into())); /// }