open-index/open-npm huggingface dataset:
npm package: @questdb/sql-grammar
Description: List of keywords, functions and constants that QuestDB supports
Author: QuestDB
Latest version: 1.4.2

# @questdb/sql-grammar

<a href="https://www.npmjs.com/package/@questdb/sql-grammar">
  <img src="https://img.shields.io/npm/v/@questdb/sql-grammar.svg?style=flat"
        alt="NPM Version">
</a>

This repository contains an NPM package with list of keywords, functions and constants supported by QuestDB.
It is used to build enrich frontend applications to support QuestDB's grammar.

<div align="center">
  <a href="http://questdb.io">
    <img src=".github/structure.png" width="400" />
  </a>
</div>

## Install

With npm:

```sh
npm install @questdb/sql-grammar
```

or with yarn:

```sh
yarn add @questdb/sql-grammar
```

## Usage

Import the package and use the exported values:

```js
import { dataTypes, functions, keywords, constants } from "@questdb/sql-grammar"
```

These values are useful when configuring some text editor to enable QuestDB syntax highlighting and autocomplete.
For 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.

## Other QuestDB Resources

Complete references are available in the
[Documentation](https://questdb.io/docs/).

### Get started

- [Docker](https://questdb.io/docs/get-started/docker/)
- [Binaries](https://questdb.io/docs/get-started/binaries/)
- [Homebrew](https://questdb.io/docs/get-started/homebrew/)

### Develop

- [Connect](https://questdb.io/docs/develop/connect/)
- [Insert data](https://questdb.io/docs/develop/insert-data/)
- [Query data](https://questdb.io/docs/develop/query-data/)
- [Authenticate](https://questdb.io/docs/develop/authenticate/)

### Concepts

- [SQL extensions](https://questdb.io/docs/concept/sql-extensions/)
- [Storage model](https://questdb.io/docs/concept/storage-model/)
- [Partitions](https://questdb.io/docs/concept/partitions/)
- [Designated timestamp](https://questdb.io/docs/concept/designated-timestamp/)

### Support
- [Slack Channel](https://slack.questdb.io)

### Roadmap

[Our roadmap is here](https://github.com/orgs/questdb/projects/2)

## Contribute

QuestDB is an open source project and contributions are always welcome!

Feel free to contribute to this project by forking the repository and submitting
pull requests. Please make sure you have read our [contributing guide](./CONTRIBUTING.md).

If you would like to contribute to QuestDB code database, see core [contributing guide](https://github.com/questdb/questdb/blob/master/CONTRIBUTING.md)
npm package: @questdb/sql-syntax
Description: List of keywords, functions and constants that QuestDB supports
Author: QuestDB
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @questdb/sql-syntax

<p align="center">
  <a href="https://www.npmjs.com/package/@questdb/sql-syntax">
    <img src="https://img.shields.io/npm/v/@questdb/sql-syntax.svg?style=flat"
          alt="NPM Version">
  </a>
</p>

<hr/>

This repository contains list of keywords, functions and constants that QuestDB
supports. This npm package is used to build rich frontend applications that
support QuestDB's syntax.

## Install

Using npm:

```sh
npm install --save-dev @questdb/sql-syntax
```

or using yarn:

```sh
yarn add @questdb/sql-syntax
```

## Resources

Complete references are available in the
[Documentation](https://questdb.io/docs/documentationOverview). There are also
several guides to get started.

Quick-start guides:

- [Docker](https://questdb.io/docs/guideDocker)
- [Homebrew](https://questdb.io/docs/guideHomebrew)
- [Using the binaries](https://questdb.io/docs/guideBinaries)

Usage guides:

- [Web Console](https://questdb.io/docs/usingWebConsole)
- [Postgres Wire with PSQL](https://questdb.io/docs/guidePSQL) (alpha)
- [REST API](https://questdb.io/docs/guideREST)
- [CRUD operations](https://questdb.io/docs/crudOperations)

Concepts:

- [SQL extensions](https://questdb.io/docs/sqlExtensions)
- [Storage model](https://questdb.io/docs/storageModel)
- [Partitions](https://questdb.io/docs/partitions)
- [Designated timestamp](https://questdb.io/docs/designatedTimestamp)

## Support / Contact

[Slack Channel](https://questdb.slack.com)

## Roadmap

[Our roadmap is here](https://github.com/questdb/questdb/projects/3)

## Contribution

Feel free to contribute to the project by forking the repository and submitting
pull requests. Please make sure you have read our
[contributing guide](https://github.com/questdb/sql-syntax/blob/master/CONTRIBUTING.md).
npm package: @questdb/web-console
Description: QuestDB Web Console
Author: QuestDB
Latest version: 1.2.0

# QuestDB UI

This repository hosts the implementation of QuestDB user interface and surrounding tooling.

## Prerequisites

- **Node.js** >= 18.18.0 (check with `node -v`)
- **Yarn** 4.1.1+ (check with `yarn -v`)

If your Node.js version doesn't match, use [fnm](https://fnm.vercel.app) or [nvm](https://github.com/nvm-sh/nvm) to switch versions:
```bash
fnm use  # or nvm use
```

If Yarn is not installed, enable it with:
```bash
corepack enable
```

## Quick Start

1. Clone the repository:
   ```bash
   git clone git@github.com:questdb/ui.git
   cd ui
   ```

2. Install dependencies:
   ```bash
   yarn
   ```

3. Start the development server:
   ```bash
   yarn start
   ```

4. Open [http://localhost:9999](http://localhost:9999) in your browser. Note that for Web Console to work properly, [QuestDB server](https://github.com/questdb/questdb) should be up and running.

## Available Scripts

- `yarn start` - Start development server (Vite)
- `yarn build` - Build for production
- `yarn preview` - Preview production build locally
- `yarn test:unit` - Run unit tests (Vitest)
- `yarn test:e2e` - Run end-to-end tests (Cypress)
- `yarn test:e2e:auth` - Run auth-specific e2e tests
- `yarn test:e2e:enterprise` - Run enterprise e2e tests
- `yarn typecheck` - Run TypeScript type checking
- `yarn lint` - Lint source code (ESLint)
- `yarn lint:fix` - Fix linting issues automatically

## Development Notes

### Running E2E Tests

E2E tests require a running QuestDB server. The tests connect to `localhost:9000` by default.

### Working with Context Path

To test with a custom context path:
```bash
QDB_HTTP_CONTEXT_WEB_CONSOLE=/context yarn preview
```

## Contributing

We always welcome contributions from the community!

If you need help, here are some useful links:

- Check [GitHub issues](https://github.com/questdb/ui/issues) for existing discussions
- Read the [QuestDB Documentation](https://questdb.com/docs/)
- Join our [Slack Channel](https://slack.questdb.io/) or [Community Forum](https://community.questdb.io/)