mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
d9fb0f8780
* use positional arguments in SQL functions * only allow omitting set of last arguments in functions * disallow omitting of a non default argument in functions
22 lines
390 B
YAML
22 lines
390 B
YAML
description: Query from users table using get_users function
|
|
url: /v1/graphql
|
|
status: 200
|
|
response:
|
|
data:
|
|
get_users:
|
|
- id: 1
|
|
name: Starke Blake
|
|
is_admin: true
|
|
- id: 2
|
|
name: Bellamy Blake
|
|
is_admin: true
|
|
query:
|
|
query: |
|
|
query {
|
|
get_users(args: {search: "Blake", arg_1: 2, arg_2: true}){
|
|
id
|
|
name
|
|
is_admin
|
|
}
|
|
}
|