{"id":21922860,"url":"https://github.com/blckclov3r/hasuragraphql_testcode","last_synced_at":"2026-05-03T21:32:06.055Z","repository":{"id":128870898,"uuid":"551210300","full_name":"blckclov3r/hasuragraphql_testcode","owner":"blckclov3r","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-29T02:17:55.000Z","size":301,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-12T06:56:41.806Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blckclov3r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-14T02:23:26.000Z","updated_at":"2022-10-18T07:54:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd3116dd-5430-4436-b476-4543dc664f17","html_url":"https://github.com/blckclov3r/hasuragraphql_testcode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blckclov3r/hasuragraphql_testcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fhasuragraphql_testcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fhasuragraphql_testcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fhasuragraphql_testcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fhasuragraphql_testcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blckclov3r","download_url":"https://codeload.github.com/blckclov3r/hasuragraphql_testcode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckclov3r%2Fhasuragraphql_testcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T21:07:31.255Z","updated_at":"2026-05-03T21:32:06.033Z","avatar_url":"https://github.com/blckclov3r.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hasura\n\n\u003e The Hasura GraphQL Engine is an extremely lightweight, high performance product that gives you instant realtime GraphQL APIs on a Postgres database. This can be used to quickly build new applications on Postgres or fast-track the move to GraphQL for existing applications on Postgres.\n\n## Example\n[Hasura Crash Course by Laith Academy][1]\n\n### Mutation Insert \n```\nmutation{\n  insert_posts(objects:{\n    content:\"This is my mutation posts\",\n    title: \"My mutation\",\n    user_id: 1\n  }){\n    returning{\n      title\n      user {\n        username\n      }\n    }\n  }\n}\n\n```\n\n### Mutation Update\n\n```\nmutation{\n  update_users_by_pk(pk_columns:{id:1}, _set: {\n    age: 99\n  }){\n    id\n    username\n  }\n}\n```\n\n### Mutation Delete\n\n```\nmutation{\n  delete_users_by_pk(id: 5){\n    id\n    username\n  }\n}\n```\n\n### Select All\n\n```\nquery{\n  users{\n    id\n    username\n  }\n}\n```\n\n### Select and Where clase\n\n```\nquery{\n  users(where: {gender:{_eq: false}}) {\n    id\n    username\n  }\n}\n```\n\n\n### Search by primary key\n```\nquery{\n  users_by_pk(id: 1){\n    username\n    posts{\n      title\n      content\n      id\n    },\n    comments{\n      content\n      id\n    }\n  }\n}\n```\n\n\n```\n{\n  posts_by_pk(id: 1){\n    title\n    content\n    comments(order_by: {id: desc}){\n      id\n      content\n      user{\n        username\n      }\n    }\n  }\n}\n```\n\n[1]:https://www.youtube.com/watch?v=BNo0WROmij8 \n\n ----- \n HackMD Note URL: https://hackmd.io/Wux1wxsPRe2nAWa78tf93g","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblckclov3r%2Fhasuragraphql_testcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblckclov3r%2Fhasuragraphql_testcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblckclov3r%2Fhasuragraphql_testcode/lists"}