blob: 46bd8b0d3b99f564b1b4e7834a8614efbd078025 [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001for $user in dataset('User')
2for $mv in dataset('Movie')
3where some $i in $user.interests satisfies $i.movie = $mv.movie
4return { "name": $user.name, "movie": $mv.movie }