MyGit

v2.14.0-beta.1

hasura/graphql-engine

版本发布时间: 2022-10-12 20:49:31

hasura/graphql-engine最新发布版本:v2.38.1(2024-04-03 01:37:52)

Changelog

Highlights

Aggregate functions in where-clauses

We now support aggregation functions in where-clauses, initially requested in #1498, see docs.

This allow queries such as the following to fetch the names of students that have an average grade above a certain value across their science classes:

query {
  students(_where: {
   classes_aggregate: {
     average: {
       arguments: "grade",
       filter: {department: {_eq: "science"}},
       predicate: { _gt: 10 }
     }
  })
 {
   name
 }

GraphQL Type Generator in Actions

While creating a new Action, now you can use a type generator on the Console to easily create GraphQL types from JSON sample requests

image

Bug fixes and improvements

相关地址:原始地址 下载(tar) 下载(zip)

1、 cli-hasura-darwin-amd64 75.05MB

2、 cli-hasura-darwin-arm64 75.11MB

3、 cli-hasura-linux-amd64 23.42MB

4、 cli-hasura-linux-arm64 22MB

5、 cli-hasura-windows-amd64.exe 68.92MB

查看:2022-10-12发行的版本