Not sure if I’m doing something wrong but I have a database which have a few indexes, created using the regular FQL version, but when I try to use it on FQL 10 it does not work:
users.userByEmail("some@email.com").first()
it returns:
error: The function `userByEmail` does not exist on `users`
FQL v4 indexes can’t be called directly in FQL v10, but indexed queries can be used in FQL v10 if they are embedded in a UDF. Similarly, FQL v10 indexes can’t be directly called from an FQL v4 query unless the indexed query is in a UDF.