Better HN
topnewbestaskshowjobs
Log inSign up

wjonas

2 karma · joined Jul 19, 2018 (8y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

For 2 reasons inserting is tricky and querying is not super intuitive.

Example: I have 3 tables pages, page_blocks, and blocks.

- Inserting blocks into a page is tough.

- To query it's not very intuitive I would like to do.

pages {

  blocks {

    id

  }
}

& not

pages {

  page_blocks {

    blocks {

      id
    }

  }

}

comment 8y ago · link · parent

I have been playing around with it. It's great.

Better support for ENUMS and MANY TO MANY relationships would be very needed though.