I have a schema something like this: -record(sale, { id, price, tax, sku, datetime }) -record(refund, { id, sale_id, datetime }). There are about 600,000 records in the sale table and about 20,000 in the refund table.
↧
erlang - Mnesia fold over records, referencing a second table - Stack ...
↧