import { serializableTransaction } from '@app/heap'
serializableTransaction(ctx, callback)
app.Ctx
(ctx) => Promise<T>
Promise<T>
Выборка всех записей таблицы.
const Tasks = Heap.Table('tasks', {
title: Heap.String(),
responsible: Heap.RefLink('employees'),
priority: Heap.Integer(),
})
const all = await Tasks.findAll(ctx)