Skip to content

Query

Removed in v4

The query submodule (applyQuery, applyFilters, ...) was removed in v4. Its successor is @rapiq/adapter-typeorm, the dedicated TypeORM adapter of the rapiq v2 monorepo.

The query pipeline is now fully self-contained in rapiq: decoding the raw URL query string (@rapiq/codec-url), typed schema validation (@rapiq/core) and application onto the SelectQueryBuilder (@rapiq/adapter-typeorm). typeorm-extension is no longer involved.

The monorepo hosts more than the TypeORM adapter: adapters for drizzle, prisma, raw SQL and in-memory collections, plus pluggable input parsers (e.g. a MongoDB-style filter parser and an expression parser).

To move over, follow the official migration guide: https://rapiq.tada5hi.net/guide/migration-typeorm-extension

See also the v4 migration guide of this package.

If you still need the old applyQuery path (e.g. on typeorm 0.3.x), stay on typeorm-extension v3.

Scheduled for removal

This page is kept during the v4 release cycle to route former applyQuery users to the successor. With the next major release (v5) it will be removed; the rapiq documentation is the canonical reference.