{"id":28455690,"url":"https://github.com/questdb/sql-grammar","last_synced_at":"2025-07-03T13:36:48.532Z","repository":{"id":43400896,"uuid":"279928149","full_name":"questdb/sql-grammar","owner":"questdb","description":"List of keywords, functions and constants that QuestDB supports","archived":false,"fork":false,"pushed_at":"2025-06-18T14:10:49.000Z","size":381,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-27T02:38:43.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://questdb.io","language":"TypeScript","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/questdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-15T17:02:26.000Z","updated_at":"2025-06-18T14:10:51.000Z","dependencies_parsed_at":"2025-04-04T16:23:04.713Z","dependency_job_id":"82a26235-736c-4bdb-b6ac-9bd0bb79a0ce","html_url":"https://github.com/questdb/sql-grammar","commit_stats":{"total_commits":26,"total_committers":7,"mean_commits":"3.7142857142857144","dds":0.3076923076923077,"last_synced_commit":"43d4d179d0cd72ad47635c111047dbce14ebce74"},"previous_names":["questdb/sql-syntax"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/questdb/sql-grammar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fsql-grammar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fsql-grammar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fsql-grammar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fsql-grammar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/questdb","download_url":"https://codeload.github.com/questdb/sql-grammar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fsql-grammar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263336002,"owners_count":23450957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-06-06T22:10:22.944Z","updated_at":"2025-07-03T13:36:48.504Z","avatar_url":"https://github.com/questdb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @questdb/sql-grammar\n\n\u003ca href=\"https://www.npmjs.com/package/@questdb/sql-grammar\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/@questdb/sql-grammar.svg?style=flat\"\n        alt=\"NPM Version\"\u003e\n\u003c/a\u003e\n\nThis repository contains an NPM package with list of keywords, functions and constants supported by QuestDB.\nIt is used to build enrich frontend applications to support QuestDB's grammar.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"http://questdb.io\"\u003e\n    \u003cimg src=\".github/structure.png\" width=\"400\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Install\n\nWith npm:\n\n```sh\nnpm install @questdb/sql-grammar\n```\n\nor with yarn:\n\n```sh\nyarn add @questdb/sql-grammar\n```\n\n## Usage\n\nImport the package and use the exported values:\n\n```js\nimport { dataTypes, functions, keywords, constants } from \"@questdb/sql-grammar\"\n```\n\nThese values are useful when configuring some text editor to enable QuestDB syntax highlighting and autocomplete.\nFor example, the [QuestDB Web Console](https://github.com/questdb/ui/blob/ba6ef37e40933245d64d60c508379c8420d84b21/packages/web-console/src/scenes/Editor/Monaco/questdb-sql/language.ts#L5) is using values exported by this project to augment the autocomplete and syntax highlight of the Monaco text editor.\n\n## Other QuestDB Resources\n\nComplete references are available in the\n[Documentation](https://questdb.io/docs/).\n\n### Get started\n\n- [Docker](https://questdb.io/docs/get-started/docker/)\n- [Binaries](https://questdb.io/docs/get-started/binaries/)\n- [Homebrew](https://questdb.io/docs/get-started/homebrew/)\n\n### Develop\n\n- [Connect](https://questdb.io/docs/develop/connect/)\n- [Insert data](https://questdb.io/docs/develop/insert-data/)\n- [Query data](https://questdb.io/docs/develop/query-data/)\n- [Authenticate](https://questdb.io/docs/develop/authenticate/)\n\n### Concepts\n\n- [SQL extensions](https://questdb.io/docs/concept/sql-extensions/)\n- [Storage model](https://questdb.io/docs/concept/storage-model/)\n- [Partitions](https://questdb.io/docs/concept/partitions/)\n- [Designated timestamp](https://questdb.io/docs/concept/designated-timestamp/)\n\n### Support\n- [Slack Channel](https://slack.questdb.io)\n\n### Roadmap\n\n[Our roadmap is here](https://github.com/orgs/questdb/projects/2)\n\n## Contribute\n\nQuestDB is an open source project and contributions are always welcome!\n\nFeel free to contribute to this project by forking the repository and submitting\npull requests. Please make sure you have read our [contributing guide](./CONTRIBUTING.md).\n\nIf you would like to contribute to QuestDB code database, see core [contributing guide](https://github.com/questdb/questdb/blob/master/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestdb%2Fsql-grammar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquestdb%2Fsql-grammar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestdb%2Fsql-grammar/lists"}