Releases: simonw/datasette-graphql
Releases · simonw/datasette-graphql
0.12.3
0.12.2
0.12.1
0.12
0.11
- No longer exposes hidden tables, e.g. SQLite's
_fts
tables. #39 - Test fixtures database is now deployed as part of the live demo - see /graphql/fixtures. #40
- The generated GraphQL schema is now exposed at
/graphql/dbname.graphql
- e.g. /graphql/github.graphql on the demo. #41 - The example queries in the examples directory now link to live demos for each query. #42
0.10
- New
where:
argument that accepts a fragment of SQL to add to the WHERE clause, as an alternative for if the query is too complex to express usingfilter:
. #26 - Nested relationships now support the
filter:
,sort:
,sort_desc:
,search:
andwhere:
arguments. #38
Example query using these new features (try this query):
{
repos(filter: [{stargazers_count: {gt: 10}}]) {
nodes {
full_name
stargazers_count
issues_list(first: 5, where: "body like '%test%' or title like '%test%'", sort_desc: created_at) {
totalCount
nodes {
title
}
}
}
}
}
0.9
Table filtering has a new, better design. #25
Retrieving all records with license
of "apache-2.0"
and a stargazers_count
greater than 10 now looks like this:
{
repos(filter: {license: {eq: "apache-2.0"}, stargazers_count: {gt: 10}}) {
nodes {
full_name
stargazers_count
license {
key
}
}
}
}
See table filters examples for more operations, and column filter arguments in the Datasette documentation for details of how those operations work.