Saxonberg Server API
    Preparing search index...

    Type Alias OnExcessPolicy

    OnExcessPolicy: "top" | "take-all" | "prompt" | "truncate" | "error"

    What to do when MQL resolves more results than the cardinality permits.

    • 'top' — pick the highest-scored match. object only (the default for object fields; preserves pre-cardinality behavior).
    • 'take-all' — execute with all resolved Stuffs. objects only (the default for objects when max is unset).
    • 'prompt' — push mqlObject (cardinality 1) or mqlMany (cardinality K) and await the player's selection.
    • 'truncate' — silently take the top max matches. objects only.
    • 'error' — fail the command with a structured note.