Skip to main content

Module record

Module record 

Source
Expand description

Record (one parsed .md file) and Value (the typed cell values). Records have virtual fields (_name, _path, _modified, etc.) computed lazily from the path and frontmatter.

Structs§

Record
One parsed .md file = one record.

Enums§

Value
A value from YAML frontmatter, preserving type information.

Functions§

epoch_seconds
Seconds since the Unix epoch. Used by FieldSchema::default_expr = epoch.
now_string
Wall-clock now in YYYY-MM-DD HH:MM form. Used by FieldSchema::default_expr = now. Format matches the existing _modified / _created virtual fields so values are sortable together.
today_string
Today’s calendar date in YYYY-MM-DD form. Used by FieldSchema::default_expr = today and by any consumer that needs a date matching the format vaultdb’s virtual-field outputs use.