What is the cleanest way to query All reference documents inside a of document while querying a collection of documents? #264
              
                Unanswered
              
          
                  
                    
                      catrawalkar
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments
-
| Ps It is still not really working for me in sandbox. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Unfortunately I think Firebase doesn't have a way to natively pre populate references tho It would be great to have that feature with ReactFire even considering that it would iterate through references to populate the values, which would count to increased billed read ops. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Steps to reproduce
I have 2 different collections: animals (1) and types (2).
Animals Collection looks like this:
Types Collection looks like this:
I want to query animals collection so that all the reference document information will also be available to me. Result I am looking for is like this:
What is the cleanest way to do this?
Right now I am doing something like:
Beta Was this translation helpful? Give feedback.
All reactions