Skip to content

Instantly share code, notes, and snippets.

@richbpark
Last active February 14, 2019 12:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richbpark/029ce44704f5601cc64281d13c38bf3b to your computer and use it in GitHub Desktop.
Save richbpark/029ce44704f5601cc64281d13c38bf3b to your computer and use it in GitHub Desktop.
Showing just two records from lab_app.db.
##############- SAMPLE RUN -#################################
# Over 25,000 records had been collected at this time.
(lab_app) root@RPiFSv2:/var/www/lab_app# python3 myDBquery.py
24983 Temperature -> 22.40℃ 2019-02-03 18:50:02
Humidity 46.50%
< clipped for brevity >
25000 Temperature -> 23.40℃ 2019-02-03 21:40:02
Humidity 46.90%
(lab_app) root@RPiFSv2:/var/www/lab_app#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment