blob: ab7d96468aa4efe072e9ae341ef7b8feb84bf2a5 [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[2]
4return { "name": $user.name, "movie": $mv.movie }