LCOV - code coverage report
Current view: top level - dashql-app/src/connections/catalog - system_schemas.ts Coverage Total Hit
Test: DashQL 915828b Lines: 100.0 % 6 6
Test Date: 2026-11-06 19:30:32

            Line data    Source code
       1              : /// Schemas of the database system rather than of the user
       2            1 : const SYSTEM_SCHEMAS = new Set(['information_schema', 'pg_catalog']);
       3              : /// Prefixes of schemas of the database system, e.g. pg_toast or pg_temp_3
       4            1 : const SYSTEM_SCHEMA_PREFIXES = ['pg_toast', 'pg_temp'];
       5              : 
       6              : /// Is a schema part of the database system rather than of the user?
       7            1 : export function isSystemSchema(schemaName: string): boolean {
       8            1 :     const lower = schemaName.toLowerCase();
       9            1 :     return SYSTEM_SCHEMAS.has(lower) || SYSTEM_SCHEMA_PREFIXES.some(prefix => lower.startsWith(prefix));
      10            1 : }
        

Generated by: LCOV version 2.0-1