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
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.
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
Not trying to be