Permalink
Browse files

Updated the example to the new 'search' API.

  • Loading branch information...
1 parent 7166923 commit 755a7d564f260da25b915d988a8444056f993f31 @mcollina committed Nov 24, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 examples/foaf-web.html
  2. +1 −1 examples/foaf.js
  3. +1 −1 examples/foafNavigator.js
View
@@ -31,7 +31,7 @@
object: "davide"
}], function () {
- var stream = db.joinStream([{
+ var stream = db.searchStream([{
subject: "matteo",
predicate: "friend",
object: db.v("x")
View
@@ -36,7 +36,7 @@ tmp.dir(function(err, dir) {
object: "davide"
}], function () {
- var stream = db.joinStream([{
+ var stream = db.searchStream([{
subject: "matteo",
predicate: "friend",
object: db.v("x")
@@ -41,7 +41,7 @@ tmp.dir(function(err, dir) {
console.log(results);
});
- db.join([{
+ db.search([{
subject: db.v("x0"),
predicate: 'friend',
object: 'matteo'

0 comments on commit 755a7d5

Please sign in to comment.