Retrieving Data from TinyDB
Getting data from the database is accomplished with the TinyDB.GetValue block. The following example illustrates triggering a response when the user pushes a button. For this use case, we want this data always and rapidly available (see Figure 11.3).
Get Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.