Fact.Context (Fact v0.1.0)

View Source

The context for a Fact database.

A Fact.Context holds all the configuration, file handlers, encoders/decoders, and metadata necessary to operate a database instance. It provides a central place to access:

  • Database identity and versioning information
  • Event and record schemas
  • File and storage handlers for ledgers, records, indexes, checkpoints, and locks

Summary

Functions

from_record(record)