Organizes saved queries into categories for discovery and management, supporting folder-like organization of queries.

Hierarchy (view full)

Constructors

Properties

CacheInheritanceEnabled: boolean = true

When true, queries without cache config will inherit from this category

DefaultCacheEnabled: boolean = false

Default cache setting for queries in this category

DefaultCacheMaxSize: number = null

Default maximum cache size for queries in this category

DefaultCacheTTLMinutes: number = null

Default TTL in minutes for cached results of queries in this category

Description: string = null

Description of what types of queries belong in this category

ID: string = null

Unique identifier for the query category

Name: string = null

Name of the category for organizing queries

Parent: string = null

Parent category name from the related category

ParentID: string = null

Foreign key to parent category for hierarchical organization

__mj_CreatedAt: Date = null

Date and time when this category was created

__mj_UpdatedAt: Date = null

Date and time when this category was last updated

Accessors

Methods

  • Copies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.

    Parameters

    • initData: any

      The initialization data object

    Returns void