Refs and Get in FaunaDB

InstructorChris Biscardi

Share this video with your friends

Send Tweet

When working with FQL it's often the case that you'll encounter Refs. Refs don't have any fields on them though! So how do we access the fields? Get.

Collections()
Collection("customers")
Ref(Collection("customers"), "244075679454331401")
Get(Ref(Collection("customers"), "244075679454331401"))
Get(Collection("customers"))