Help with TinyDB If ... then ...?

How exactly does the TinyDB fit in here?

You can create a QR code with this amazing extension by @vknow360: