Created
November 2, 2016 01:01
-
-
Save deltaepsilon/725b9415521cea10021e2cebf5617ca5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chatsRef.orderByValue(‘user’).equalTo(‘user1’).once(‘value’, function (snap) { | |
var user1Chats = snap.val(); | |
console.log(‘user1 chats!’, user1Chats); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is great! I missed this in the docs - makes flat data much easier to work with.