I noticed this FESCo topic:
#link https://fedoraproject.org/wiki/Changes/Unified_database_for_DNF

proposing a unified sqlite database for DNF. Recently there's been a discussion of replacing the RPM database with a custom database layer, where people asked why aren't we using something like sqlite---which I think is a reasonable idea, and even more so if the FESCo idea is approved and we have sqlite linked into DNF anyway. I just wanted to point out the connection, and the possible synergy (BS BINGO!!! BS BINGO!!!)