Simon Willison’s Weblog

Subscribe

Thursday, 16th April 2020

Release sqlite-utils 2.6 — Python CLI utility and library for manipulating SQLite databases

Weeknotes: Hacking on 23 different projects

I wrote a lot of code this week: 184 commits over 23 repositories! I’ve also started falling for Zeit Now v2, having found workarounds for some of my biggest problems with it.

[... 901 words]

Release github-to-sqlite 1.0.1 — Save data from GitHub to a SQLite database

SQL is a better API language than GraphQL – Convince me otherwise (via) A flippant tweet I posted this morning blew up today and ended up on the Hacker News homepage.

# 10:44 pm / hacker-news, sql, webapis, graphql

How Super Graph compiles GraphQL to a single SQL query. Super Graph is a GraphQL server that compiles arbitrarily nested GraphQL queries to “a single fast SQL query”. I’ve always wondered how that could possible work, so I asked author Vikram Rangnekar for an example of a compiled query—it turns out it uses a brilliant sequence of JSON aggregations to glue together results from nested subqueries and left outer joins.

# 10:52 pm / sql, graphql

Wednesday, 15th April 2020
Friday, 17th April 2020