Rowguard - RLS Policy DSL - v0.2.0
    Preparing search index...

    Type Alias ColumnNames<DB, TableName>

    ColumnNames: "public" extends keyof DB
        ? DB["public"] extends { Tables: infer T }
            ? TableName extends keyof T
                ? T[TableName] extends { Row: infer R } ? keyof R & string : never
                : never
            : never
        : never

    Extract column names for a specific table Uses the 'Row' type which represents the actual database columns Example: for 'notes' → 'id' | 'user_id' | 'title' | 'created_at'

    Type Parameters