dendrite/syncapi/storage
alexfca acf63daf79
Add CT and UT to all documents and refactor (#17)
* - Create CosmosDocument as a base class
- Add CT and UT
- Refactor all tables to use the CosmosDocument

* - Add UpsertDocument method to perform updates in a generic way
- Add SetUpdateTime() to update the UT for updates
- Refactor it all

Co-authored-by: alexf@example.com <alexf@example.com>
2021-09-20 17:41:04 +10:00
..
cosmosdb Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
postgres Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
shared - Implement the SycAPI to use CosmosDB (#8) 2021-05-27 18:45:53 +10:00
sqlite3 Only include go-sqlite3 on the relevant binaries (#1900) 2021-07-20 11:18:14 +01:00
tables Don't re-request state events that are already in the timeline (#1739) 2021-02-04 12:20:37 +00:00
interface.go Don't re-request state events that are already in the timeline (#1739) 2021-02-04 12:20:37 +00:00
storage.go storage.go 2021-05-06 14:41:27 +10:00
storage_test.go Sync refactor — Part 1 (#1688) 2021-01-08 16:59:06 +00:00
storage_wasm.go storage.go 2021-05-06 14:41:27 +10:00