{"id":17124968,"url":"https://github.com/shellyln/go-open-soql-parser","last_synced_at":"2026-03-01T01:37:34.256Z","repository":{"id":154145446,"uuid":"631967873","full_name":"shellyln/go-open-soql-parser","owner":"shellyln","description":"Open source implementation of the SOQL parser for Go","archived":false,"fork":false,"pushed_at":"2025-01-08T10:15:22.000Z","size":72,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T11:59:50.952Z","etag":null,"topics":["go","golang","graph-query","library","object-query","parser","query-language","soql","soql-parser","soql-query","sql"],"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/shellyln.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-04-24T12:45:44.000Z","updated_at":"2025-01-08T23:07:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"988d4efe-ff04-4109-b893-d6d0b4412181","html_url":"https://github.com/shellyln/go-open-soql-parser","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/shellyln/go-open-soql-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fgo-open-soql-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fgo-open-soql-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fgo-open-soql-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fgo-open-soql-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shellyln","download_url":"https://codeload.github.com/shellyln/go-open-soql-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fgo-open-soql-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29957457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"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":["go","golang","graph-query","library","object-query","parser","query-language","soql","soql-parser","soql-query","sql"],"created_at":"2024-10-14T18:43:48.648Z","updated_at":"2026-03-01T01:37:33.490Z","avatar_url":"https://github.com/shellyln.png","language":"Go","readme":"# go-open-soql-parser\nOpen source implementation of the SOQL parser for Go.\n\n[![Test](https://github.com/shellyln/go-open-soql-parser/actions/workflows/test.yml/badge.svg)](https://github.com/shellyln/go-open-soql-parser/actions/workflows/test.yml)\n[![release](https://img.shields.io/github/v/release/shellyln/go-open-soql-parser)](https://github.com/shellyln/go-open-soql-parser/releases)\n[![Go version](https://img.shields.io/github/go-mod/go-version/shellyln/go-open-soql-parser)](https://github.com/shellyln/go-open-soql-parser)\n\n\u003cimg src=\"https://raw.githubusercontent.com/shellyln/go-open-soql-parser/master/_assets/logo-opensoql.svg\" alt=\"logo\" style=\"width:250px;\" width=\"250\"\u003e\n\n---\n\n## 🧭 Examples\n\n* [Live demo](https://shellyln.github.io/soql/)\n* [SOQL query visualizer](https://shellyln.github.io/soql-visualizer/)\n\n## 🚀 Getting started\n\n```go\npackage main\n\nimport (\n    \"bytes\"\n    \"encoding/json\"\n    \"fmt\"\n    \"github.com/shellyln/go-open-soql-parser/soql/parser\"\n)\n\nfunc main() {\n    src := `\n    SELECT Id FROM Contact WHERE Name like 'a%'\n    `\n\n    ret, err := parser.Parse(src)\n    if err != nil {\n        fmt.Println(err)\n    }\n\n    jsonStr, err := json.Marshal(ret)\n    if err != nil {\n        println(err)\n    }\n\n    var buf bytes.Buffer\n    json.Indent(\u0026buf, jsonStr, \"\", \"  \")\n\n    fmt.Println(buf.String())\n}\n```\n\n## 🚧 TODO\n* Unit tests\n* `GROUP BY ROLLUP` and `GROUP BY CUBE` clause, `GROUPING()` function\n* `WITH` clause\n* `USING SCOPE` clause\n* Formula in fieldExpression at conditionExpression (where / having)\n* Polymorphic Fields\n* \"null Values in Lookup Relationships and Outer Joins\" - If an object has a conditional expression whose right hand side is null, it is not a condition for inner join.\n    * cf. \"Using Relationship Queries\" - If the condition is complete within the parent object (no \"or\" across relationships), it is inner joined.\n\n## 🔗 Related projects\n* [GraphDT](https://github.com/shellyln/go-graphdt) - Datatable\n* [go-open-soql-visualizer](https://github.com/shellyln/go-open-soql-visualizer) - Visualizer\n* [Open SOQL (JavaScript)](https://github.com/shellyln/open-soql) - JavaScript implementation\n\n## 🙋 FAQ\n* What does `SOQL` stand for?\n  * 👉 In `Open SOQL`, `SOQL` stands for `SOQL is Object Query Language`.\n  * 👉 In [original SOQL](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm), `SOQL` stands for `Salesforce Object Query Language`.\n\n## ⚖️ License\n\nMIT  \nCopyright (c) 2023 Shellyl_N and Authors.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellyln%2Fgo-open-soql-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshellyln%2Fgo-open-soql-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellyln%2Fgo-open-soql-parser/lists"}