<template name="aggregateOptions">
    {{#if isOptionSelected "COLLATION"}}
        {{> collation}}
    {{/if}}

    {{#if isOptionSelected "BYPASS_DOCUMENT_VALIDATION"}}
        {{> bypassDocumentValidation}}
    {{/if}}

    {{#if isOptionSelected "MAX_TIME_MS"}}
        {{> maxTimeMs}}
    {{/if}}

    {{#if isOptionSelected "ALLOW_DISK_USE"}}
        {{> allowDiskUse}}
    {{/if}}

    {{#if isOptionSelected "EXPLAIN"}}
        {{> explain}}
    {{/if}}

    {{#if isOptionSelected "COMMENT"}}
        {{