Lesson
Refs and Get in FaunaDB
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.
- Duration
- 1 min
- Access
- Free
- Transcript
- Available
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"))