Polyglot SQL API Documentation - v0.1.0
    Preparing search index...

    Type Alias ExpressionType

    ExpressionType: Expression extends infer E
        ? E extends Record<infer K, unknown>
            ? K extends string ? K : never
            : never
        : never

    Distributive conditional type to extract all variant key names from Expression union.

    Each variant is { "key": Data }, so keyof each variant gives us the key name. The distributive conditional distributes over the union members.