dendrite/roomserver/storage/cosmosdb
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
..
deltas Implement Cosmos DB for the RoomServer Service (#5) 2021-05-20 14:42:33 +10:00
event_json_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
event_seq.go Implement Cosmos DB for the RoomServer Service (#5) 2021-05-20 14:42:33 +10:00
event_state_keys_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
event_types_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
events_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
invite_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
membership_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
previous_events_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
published_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
redactions_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
room_aliases_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
room_seq.go Implement Cosmos DB for the RoomServer Service (#5) 2021-05-20 14:42:33 +10:00
rooms_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
state_blob_seq.go Upgrade Dendrite 0.5.0 support for CosmosDB (#15) 2021-09-10 16:04:17 +10:00
state_block_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
state_block_table_test.go storage.go 2021-05-06 14:41:27 +10:00
state_snapshot_seq.go Implement Cosmos DB for the RoomServer Service (#5) 2021-05-20 14:42:33 +10:00
state_snapshot_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
storage.go Implement Cosmos DB for the RoomServer Service (#5) 2021-05-20 14:42:33 +10:00
transactions_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00