Database Reference
In-Depth Information
" ORDER BY cfriends desc, p.title ";
$query = new Everyman\Neo4j\Cypher\Query(Neo4Client::client(), $queryString, array(
'u' => $username
));
$result = $query->getResultSet();
return $result;
}
Figure 8-18. Products Purchased By Friends
Specific Products Purchased by Friends
If you click on the “Specific Products Purchased By Friends” link, you can specify a product, in this case “Star Wars
Mimobot Thumb Drives”, and then search for friends who have purchased this product, as shown in Figure 8-19 . This
is done via the friendsPurchaseByProduct route and method of the same name in Purchase service class, both of
which are shown in Listing 8-46.
 
Search WWH ::




Custom Search