Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhduong committed Apr 23, 2018
2 parents 03dcd4d + 78bb32c commit 1767fb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ let continents = [

function main() {
// Just query
console.time('querytime');
let query = queryable
.from(promiseApi)
.join(nations, (pl, na) => pl.nationId === na.id)
Expand All @@ -54,6 +53,10 @@ function main() {
const data = query.toList().then(data => {
console.log(data);
});

// [{ key: "Euro", items: [{ playerName: "Ronaldo",... }, { playerName:"Mbappe",... }] },
// { key: "South America", items: [ { playerName: "Messi" }]
// ]
}

main();
Expand Down

0 comments on commit 1767fb4

Please sign in to comment.