dendrite/syncapi/storage
Kegsay 35b7cbd5d8
sql/backwards_extremities: Shift to table format and share code (#985)
* 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
2020-04-28 15:50:24 +01:00
..
postgres sql/backwards_extremities: Shift to table format and share code (#985) 2020-04-28 15:50:24 +01:00
sqlite3 sql/backwards_extremities: Shift to table format and share code (#985) 2020-04-28 15:50:24 +01:00
tables sql/backwards_extremities: Shift to table format and share code (#985) 2020-04-28 15:50:24 +01:00
interface.go Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
storage.go Add peer-to-peer support into Dendrite via libp2p and fetch (#880) 2020-03-06 10:23:55 +00:00
storage_wasm.go Add peer-to-peer support into Dendrite via libp2p and fetch (#880) 2020-03-06 10:23:55 +00:00