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
[]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
| Database | Result Type | Accessor |
|---|---|---|
| PostgreSQL | RelationalQuery | result.GetRelational().Sql |
| MySQL | RelationalQuery | result.GetRelational().Sql |
| MongoDB | DocumentQuery | result.GetDocument().Query |
| Redis | KeyValueQuery | result.GetKeyValue().CommandString |
Package Structure
Next Steps
Quickstart
5-minute getting started
Query Basics
Learn GET operations
Redis
Redis-specific features
Mutations
Insert and Update data

