• arrayOf creates a placeholder array of the specified models. Usually used to populate DB result into an array of models.

    Example:

    const records = arrayOf(new Record)

    $app.recordQuery("articles").limit(10).all(records)

    Type Parameters

    • T

    Parameters

    • model: T

    Returns T[]

Generated using TypeDoc