Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request for Inheritance: ability to query and mutate with only #6948

Open
LydiaF opened this issue May 18, 2021 · 0 comments
Open

Feature Request for Inheritance: ability to query and mutate with only #6948

LydiaF opened this issue May 18, 2021 · 0 comments
Labels
a/data/postgres k/enhancement New feature or improve an existing feature

Comments

@LydiaF
Copy link

LydiaF commented May 18, 2021

Dear Hasura,

It would be great if we could use only keyword for tables using inheritance.

SELECT name, elevation
    FROM ONLY cities
    WHERE elevation > 500;

Maybe something like:

{
  cities(where: {only: {_eq: true}}) {
    name
  }
}

It would be great if update_x_by_pk should be only by default.

Thanks for considering,

Lydia

@LydiaF LydiaF changed the title Feature Request for Inheritance: ability to query with only Feature Request for Inheritance: ability to query and mutate with only May 19, 2021
@0x777 0x777 added k/enhancement New feature or improve an existing feature a/data/postgres labels May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/data/postgres k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants