mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 16:21:55 -06:00
35b7cbd5d8
* sql/backwards_extremities: Shift to table format and share code This is an initial cut to reduce boilerplate at the storage layer. It removes the need for 2x `_table.go` files, one for each DB engine, replacing it with a single struct which has an interface which implements the raw SQL statements. The actual impl sits alongside the interface declaration which is generally regarded as best practice (though no canonical sources). Especially in this case where the impl is tiny (functions returning strings) and relies heavily on the function signatures of the table struct (for parameters), having the context in the same file is useful. * Remove _table redundancy |
||
---|---|---|
.. | ||
account_data_table.go | ||
current_room_state_table.go | ||
filtering.go | ||
invites_table.go | ||
output_room_events_table.go | ||
output_room_events_topology_table.go | ||
syncserver.go |