An Erlang ORM-like thing for Mnesia