dendrite/syncapi/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 the SycAPI to use CosmosDB (#8) 2021-05-27 18:45:53 +10:00
account_data_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
backwards_extremities_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
current_room_state_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
filter_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
filter_table_id_seq.go - Implement the SycAPI to use CosmosDB (#8) 2021-05-27 18:45:53 +10:00
filtering.go - Implement the SycAPI to use CosmosDB (#8) 2021-05-27 18:45:53 +10:00
invites_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
memberships_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
output_room_events_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
output_room_events_topology_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
peeks_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
receipt_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
send_to_device_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
send_to_device_table_seq.go - Implement the SycAPI to use CosmosDB (#8) 2021-05-27 18:45:53 +10:00
stream_id_table.go - Implement the SycAPI to use CosmosDB (#8) 2021-05-27 18:45:53 +10:00
syncserver.go - Implement the SycAPI to use CosmosDB (#8) 2021-05-27 18:45:53 +10:00