From 5af3d3a4f2a5d92636cf8cc846977b2a43714e77 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 11 May 2019 14:49:46 -0700 Subject: [PATCH] ircd::m::dbs: Add column layout key next to includes for quick reference. --- include/ircd/m/dbs/dbs.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/ircd/m/dbs/dbs.h b/include/ircd/m/dbs/dbs.h index e1894901a..2e27b356f 100644 --- a/include/ircd/m/dbs/dbs.h +++ b/include/ircd/m/dbs/dbs.h @@ -43,18 +43,18 @@ namespace ircd::m::dbs::appendix enum index :uint8_t; } -#include "event_column.h" -#include "event_idx.h" -#include "event_json.h" -#include "event_refs.h" -#include "event_horizon.h" -#include "event_type.h" -#include "event_sender.h" -#include "room_head.h" -#include "room_events.h" -#include "room_joined.h" -#include "room_state.h" -#include "state_node.h" +#include "event_column.h" // event_idx => (direct value) +#include "event_idx.h" // event_id => event_idx +#include "event_json.h" // event_idx => (full JSON) +#include "event_refs.h" // eventidx | ref_type, event_idx +#include "event_horizon.h" // event_id | event_idx +#include "event_type.h" // type | event_idx +#include "event_sender.h" // hostpart | localpart, event_idx +#include "room_head.h" // room_id | event_id => event_idx +#include "room_events.h" // room_id | depth, event_idx => node_id +#include "room_joined.h" // room_id | origin, member => event_idx +#include "room_state.h" // room_id | type, state_key => event_idx +#include "state_node.h" // node_id => (m::state::node JSON) /// Options that affect the dbs::write() of an event to the transaction. struct ircd::m::dbs::write_opts