Skip to main content

Installation

Quick Start

OmniQL wraps your existing database connection. You bring the driver, we handle the rest.

Database Wrappers

PostgreSQL

MySQL

MongoDB

Redis

The Query Method

All queries return []map[string]any regardless of database type.

SELECT (GET)

INSERT (CREATE)

UPDATE

DELETE

COUNT

Multi-Tenant Support

Polyglot Persistence

Use multiple databases with the same query syntax.

Error Handling

Complete Example

Low-Level API

For advanced use cases, you can access the parse and translate steps directly.

Parse Only

Translate Only

Database-Specific Accessors

Package Structure

Next Steps

Quickstart

5-minute getting started

Query Basics

Learn GET operations

Redis

Redis-specific features

Mutations

Insert and Update data