2 ms·
Impressive how little code is involved here! This is really neat. The biggest feature I can see that's missing is pagination - it looks like this doesn't have
by simonw 4y ago
Impressive how little code is involved here! This is really neat.
The biggest feature I can see that's missing is pagination - it looks like this doesn't have a way to retrieve e.g. ten results, then pass a next token to get back the next set.
Here's how I implemented pagination in my similar datasette-graphql plugin (which also gives you a GraphQL API for an existing SQLite database): https://github.com/simonw/datasette-graphql#pagination https://github.com/simonw/datasette-graphql#pagination