Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Firebase queries beta</title>
  <script src="https://cdn.firebase.com/js/client/1.2.0-beta.2/firebase.js"></script>
</head>
<body>
</body>
</html>
 
var ref = new Firebase('https://dinosaur-facts.firebaseio.com/');
//ref.on('value', function(snapshot) { console.log(snapshot.val()); });
ref
  .orderBy('weight')
  .startAt(1000)
  .orderBy('length')
  .startAt(10)
  .on('value', function(snapshot) { console.log(snapshot.val()); });
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
pufpro
0viewers