Skip to content

Instantly share code, notes, and snippets.

@taishikato
Created August 12, 2020 22:29
Show Gist options
  • Save taishikato/4919f92ad6fb370e8e29cbc964442aed to your computer and use it in GitHub Desktop.
Save taishikato/4919f92ad6fb370e8e29cbc964442aed to your computer and use it in GitHub Desktop.
const questionData = await db
.collection('questions')
.where('created', '<', lastQuestion.created)
.orderBy('created', 'desc')
.limit(10)
.get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment