VoidQL

Policy-driven queries.

Compiled directly into SQL.

VoidQL is a declarative, database-level authorization and query engine that compiles structured policies into safe SQL, enforcing RBAC, field-level permissions, row-level filtering, payload-aware validation, and workflow rules directly at the database layer.

From Policy to Database

Structured request

A client submits a structured request to VoidQL.

Policy evaluation

RBAC, row-level rules, payload checks, conditional logic, and workflow constraints are evaluated.

SQL compilation

VoidQL translates the authorized request into a precise SQL statement.

Authorized execution

The database executes only the permitted operation and returns the authorized data.

Why teams adopt VoidQL

Centralize authorization

Keep access logic in one place instead of scattering it across services and handlers.

Enforce at the data layer

Make policy checks part of the SQL path so enforcement stays consistent and auditable.

Ship faster with confidence

Reduce custom guardrails and make complex workflow rules easier to review and maintain.

Examples

VoidQL Query

{
  table: "users",
  type: "GET",
  select: '*'
}

Generated SQL

SELECT id, name, surname
FROM users;

Built for complex systems

Context-aware Authorization

Validate requests against current database state, user context, and business rules.

Database-native Enforcement

Turn policy checks into SQL predicates, joins, and validation guards.

Centralized Policy Rules

Define complex authorization once and reuse it across handlers and services.

Safe Workflow Transitions

Block invalid state changes before they reach storage.

Try it yourself

Request

VoidQL Demo

loading...

Valid JSON

Response

loading...

User ( login to change role )

loading...

Rulebook ( Server Side Policy Structure )

loading...