Inquire logo

Inquire

TypeScript SQL builder
Quick Start

Query Builder. Schema Builder. No ORM.

Inquire is a lightweight TypeScript SQL builder for schema work, typed queries, and multi-dialect execution. It stays close to SQL so you can evaluate it quickly and keep control.

ts
const engine = connect(resource);

await engine.create('users')
  .addField('id', { type: 'integer', autoIncrement: true })
  .addField('email', { type: 'string', length: 255, nullable: false })
  .addPrimaryKey('id');

const users = await engine
  .select<{ id: number; email: string }>(['id', 'email'])
  .from('users');

Good fit

Use Inquire when you want

  • Simply schema and query building
  • Same DX across MySQL, Postgred, and SQLite
  • Easy connection interface for database libraries
  • Building your own ORM, migration tools and generators

Not trying to be

Choose something else if you need

  • An object relational mapper and strong type mapping
  • Automatic boilerplate CRUD operations
  • Deterministic relationship management
  • Expressive code patterns over performance

Start evaluating

Pick the next page based on how you work