Get the latest tech news

You Should Add Debug Views to Your DB


The Personal blog and musings of Chris Penner, a designer, developer and future opsimath.

Sophie got an error when viewing the diff after her most recent push to her contribution to the@unison/cloud project on Unison Share I know Sophie's username from the bug report, that helps, but I don't know which project she was working on, or what the contribution ID is, which branches are involved, etc. We can solve both of these problems by writing a bunch of joins ONCE by creating a debugging view over the table we're interested in.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of views

views

Related news:

News photo

Musk's latest Grok chatbot searches for billionaire mogul's views before answering questions

News photo

New Grok AI model surprises experts by checking Elon Musk’s views before answering

News photo

Grok 4 reportedly checks Elon Musk's views before offering its opinion