Accessing child IDs within user IDs in Firebase
<p>I have a firebase database with the following structure, with the top ID shown being a user's UID:</p>

<p><a href="https://i.stack.imgur.com/1UUqd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1UUqd.png" alt="enter image description here"></a>
Although this example shows only 2 menu items, most of my users will have more than 10.  If I wanted to create a list of all of the menu item names, what would that query look like in Swift?  More specifically, what would that path look like in swift?  Currently, my path makes it this far:</p>

<pre><code>var itemNameRef = Firebase(url: "https://*******.firebaseIO.com/users/\(ref.authData.uid)/menu/")
</code></pre>

<p>Is there an ID placeholder similar to authdata.uid which I can place in the space after "menu?</p>

<p>Previously and under a different structure, using a [for] loop I was able to get the item names stored as children under "menu",with item details stored beneath that. But based on advice from another SO user, I've swapped to random keys and am back to square one.</p>

<p>Am I doing this the right way?</p>

<p>Thanks!</p>