native-query-filter

Community

Speed up dynamic lists with native SQL filters

Authormthang1801
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Integrates TypeORM with native PostgreSQL get_filtered_list to enable dynamic, filterable list APIs with efficient pagination and joins.

Core Features & Use Cases

  • Config-driven filters define a whitelist of allowed keys, ensuring secure and predictable query construction.
  • Performance optimization offloads complex filtering to native SQL for faster responses on large datasets.
  • Use Case: Build admin list endpoints with multi-join filtering and paginated results, while keeping a clean configuration.

Quick Start

Configure the YAML config for your entity, load it with FilteredListBuilder, and call get_filtered_list with the config, filters, and pagination to retrieve results.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: native-query-filter
Download link: https://github.com/mthang1801/go-domain-driven-design/archive/main.zip#native-query-filter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.