db: Add a with-connection-results-query macro
Revert "css: Restyle the page heading"

This reverts commit 200d69b392ba5fff659111c15a854cbf4541faf6.
db: Only process returned results

This means that we only have to process O(1) results, as opposed to the
number of results found.
db: Derive insert-values pragmatically
db: Minor style fixes and refactors
query: Minor refactors and style fixes