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) Copy
const records = arrayOf(new Record)$app.recordQuery("articles").limit(10).all(records)
Generated using TypeDoc
arrayOf creates a placeholder array of the specified models. Usually used to populate DB result into an array of models.
Example: