Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.66 KB

File metadata and controls

42 lines (29 loc) · 1.66 KB

Inquire

Inquire is a lightweight TypeScript SQL builder. It helps you define schemas, build SQL queries, and execute them through a connection wrapper. It does not model records, relationships, or unit-of-work behavior for you.

If you are evaluating the library, start with the quick start. If you already know what you need, jump to the API reference.

Start here

Who this library is for

Use Inquire when you want:

  • typed query results in TypeScript
  • one small API for MySQL, PostgreSQL, SQLite, and PGlite
  • schema helpers without adopting a full ORM
  • the option to mix builders and raw SQL

Use something else if you want:

  • model instances and change tracking
  • relationship loading
  • migrations with a full workflow and state management
  • repository or domain abstractions generated by the library

What you will build next

The quick start shows one happy path:

  1. create a connection wrapper
  2. build an Engine
  3. create a table
  4. insert data
  5. query typed results

After that, use the guides and API reference as lookup material.