{"id":37184214,"url":"https://github.com/nicklanng/plusminus","last_synced_at":"2026-01-14T21:17:02.225Z","repository":{"id":57510198,"uuid":"237519983","full_name":"nicklanng/plusminus","owner":"nicklanng","description":"A query builder for https://dgraph.io/","archived":false,"fork":false,"pushed_at":"2020-02-02T01:40:36.000Z","size":38,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T06:39:11.897Z","etag":null,"topics":["builder","database","dgraph","graph","library","query"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nicklanng.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}},"created_at":"2020-01-31T21:34:32.000Z","updated_at":"2024-06-20T06:39:11.897Z","dependencies_parsed_at":"2022-09-26T17:01:02.140Z","dependency_job_id":null,"html_url":"https://github.com/nicklanng/plusminus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicklanng/plusminus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklanng%2Fplusminus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklanng%2Fplusminus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklanng%2Fplusminus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklanng%2Fplusminus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicklanng","download_url":"https://codeload.github.com/nicklanng/plusminus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklanng%2Fplusminus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["builder","database","dgraph","graph","library","query"],"created_at":"2026-01-14T21:17:01.657Z","updated_at":"2026-01-14T21:17:02.210Z","avatar_url":"https://github.com/nicklanng.png","language":"Go","readme":"[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n\n# plusminus\n\n[![Build Status](https://github.com/nicklanng/plusminus/workflows/CI/badge.svg)](https://github.com/nicklanng/plusminus/actions?query=workflow%3ACI)\n[![Go Report Card](https://goreportcard.com/badge/github.com/nicklanng/plusminus)](https://goreportcard.com/report/github.com/nicklanng/plusminus)\n[![Documentation](https://godoc.org/github.com/nicklanng/plusminus?status.svg)](http://godoc.org/github.com/nicklanng/plusminus)\n[![GitHub issues](https://img.shields.io/github/issues/nicklanng/plusminus.svg)](https://github.com/nicklanng/plusminus/issues)\n[![license](https://img.shields.io/github/license/nicklanng/plusminus.svg?maxAge=2592000)](https://github.com/nicklanng/plusminus/LICENSE)\n[![Release](https://img.shields.io/github/release/nicklanng/plusminus.svg?label=Release)](https://github.com/nicklanng/plusminus/releases)\n\nA query builder for [dgraph](https://dgraph.io/).\n\n```go\nimport \"github.com/nicklanng/plusminus\"\n```\n\nPlusMinus helps to compose query statements for dgraph, especially in cases that queries must be built bit by bit.\n\nThe library only creates a query string, which can be then passed to something like [github.com/dgraph-io/dgo](https://github.com/dgraph-io/dgo).\n\n```go\nimport pm \"github.com/nicklanng/plusminus\"\n\nq := pm.Query(\"queryfriends\").Blocks(\n  pm.Block(\"data\", pm.Eq(\"name\", \"Alice\")).Predicates(\n    pm.Predicate(\"name\"),\n    pm.Predicate(\"friend\").Facets(\"close\").Predicates(\n      pm.Predicate(\"name\"),\n      pm.Predicate(\"car\").Facets(),\n    ),\n  ),\n).String()\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklanng%2Fplusminus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicklanng%2Fplusminus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklanng%2Fplusminus/lists"}