{"id":28200691,"url":"https://github.com/opendgraph/vscode-dgraph-snippets","last_synced_at":"2026-01-24T20:18:30.848Z","repository":{"id":102604374,"uuid":"175100306","full_name":"OpenDgraph/vscode-dgraph-snippets","owner":"OpenDgraph","description":"Visual Studio Code snippets for Dgraph","archived":false,"fork":false,"pushed_at":"2022-08-06T21:22:53.000Z","size":259,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T15:48:16.797Z","etag":null,"topics":["dgraph","graph","graphdb","snippets"],"latest_commit_sha":null,"homepage":"https://dgraph.io","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenDgraph.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-11T23:36:31.000Z","updated_at":"2023-09-26T13:59:27.000Z","dependencies_parsed_at":"2023-06-30T02:01:16.108Z","dependency_job_id":null,"html_url":"https://github.com/OpenDgraph/vscode-dgraph-snippets","commit_stats":null,"previous_names":["opendgraph/vscode-dgraph-snippets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OpenDgraph/vscode-dgraph-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenDgraph%2Fvscode-dgraph-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenDgraph%2Fvscode-dgraph-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenDgraph%2Fvscode-dgraph-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenDgraph%2Fvscode-dgraph-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenDgraph","download_url":"https://codeload.github.com/OpenDgraph/vscode-dgraph-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenDgraph%2Fvscode-dgraph-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28736503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T19:23:36.361Z","status":"ssl_error","status_checked_at":"2026-01-24T19:23:28.966Z","response_time":89,"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":["dgraph","graph","graphdb","snippets"],"created_at":"2025-05-16T21:16:00.401Z","updated_at":"2026-01-24T20:18:30.844Z","avatar_url":"https://github.com/OpenDgraph.png","language":null,"readme":"# Dgraph snippets for vscode.\n\nThis extension for Visual Studio Code adds snippets for Dgraph's Query lang and Mutation lang for RDF files, JSON files e other supported extensions.\n\ne.g:\n\n![Prefixes](/images/cap3.png)\n\n## Installation\n\nLaunch *Quick Open*\n  - \u003cimg src=\"https://www.kernel.org/theme/images/logos/favicon.png\" width=16 height=16/\u003e \u003ca href=\"https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf\"\u003eLinux\u003c/a\u003e `Ctrl+P`\n  - \u003cimg src=\"https://developer.apple.com/favicon.ico\" width=16 height=16/\u003e \u003ca href=\"https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf\"\u003emacOS\u003c/a\u003e `⌘P`\n  - \u003cimg src=\"https://www.microsoft.com/favicon.ico\" width=16 height=16/\u003e \u003ca href=\"https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf\"\u003eWindows\u003c/a\u003e `Ctrl+P`\n\nPaste the following command and press `Enter`:\n\n```\next install MichelDiz.vscode-dgraph-snippets\n```\n\n## Usage\n\nSimple usage is start to write \"RDF\" or \"dgraph\" as they are kind of Prefixes.\n\n![Prefixes](/images/cap1.png)\n\n![Prefixes](/images/cap2.png)\n\n### Supported languages\n* JSON(.JSON)\n* RDF(.RDF)\n* javascript(.js)\n* typescript(.ts)\n\n## DQL Snippets\n\n|        Snippet          |         Description         |\n| ----------------------- | --------------------------- |\n| `DQL-brackets`    | Create curly brackets       |\n| `DQL`             | Query base for all func     |\n| `DQL_ExpandEdges` | Expand All and expand edges |\n| `DQL-Recurse`     | Query base for all func     |\n\n## RDF Snippets\n\n|        Snippet          |         Description            |\n| ----------------------- | ------------------------------ |\n| `RDF-D`                 | Basic estructure w/ Blank Node |\n| `RDF-D_UID`             | Triples to update existing data|\n| `RDF-DELETE-SINGLE`     | basic estructure for Delete    |\n| `RDF-DELETE-Multiple`   | Delete S P * in RDF            |\n| `RDF-DELETE-CLEAN`      | Clean the whole Node - S * *   |\n| `RDF-GEO`               | Basic estructure for GEO       |\n\n## JSON-Dgraph Snippets\n\n|           Snippet           |           Description           |\n| --------------------------- | ------------------------------- |\n| `Dgraph-JSON-Edges-btNodes` | Edges between nodes             |\n| `Dgraph-JSON-Add-1Edge`     | Add one Edge with Blank node    |\n| `Dgraph-JSON-Facet`         | Add a single Facet              |\n| `Dgraph-JSON-Predicate`     | Add a single Predicate          |\n| `Dgraph-JSON-Delete-Edge`   | For delete a Edge               |\n| `Dgraph-JSON-Delete-S_P_*`  | Delete a Edge for a single pred |\n| `Dgraph-JSON-Delete-S_*_*`  | For delete a whole Node         |\n| `Dgraph-JSON-1EdgeFacet`    | Add Edge and Facet              |\n| `Dgraph-JSON-List`          | Basic JSON list in Dgraph       |\n| `Dgraph-JSON-BlanKNode`     | Add just a Blank Node           |\n| `Dgraph-JSON-MutationBase`  | Dgraph JSON Base mutation       |\n| `Dgraph-JSON-DeleteBase`    | Dgraph JSON Base delete         |\n\n\n## Known Issues\n\nN/A\n\n## Release Notes\n\n\n### 0.0.1\n\nInitial release of vscode-dgraph-snippets\n\n### 0.0.2\n\nAdded language support for .schema file extension.\n\n-----------------------------------------------------------------------------------------------------------\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendgraph%2Fvscode-dgraph-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopendgraph%2Fvscode-dgraph-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendgraph%2Fvscode-dgraph-snippets/lists"}