Skip to content

Instantly share code, notes, and snippets.

View couragecowardlydog's full-sized avatar
🏠
Working from home

Vivekanandan Sakthivelu couragecowardlydog

🏠
Working from home
  • Toyota Connected
  • Chennai
  • 02:35 (UTC -12:00)
View GitHub Profile
@couragecowardlydog
couragecowardlydog / compound-query.js
Created August 19, 2018 16:47 — forked from ademilter/compound-query.js
Firestore #firebase
var citiesRef = db.collection("cities");
var query = citiesRef.where("capital", "==", true);
citiesRef.where("state", "==", "CA")
citiesRef.where("population", "<", 100000)
citiesRef.where("name", ">=", "San Francisco")
citiesRef
.where("state", "==", "CA")