dendrite/mediaapi/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
..
media_repository_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00
sql.go Implement Cosmos DB for the Media API (#11) 2021-05-31 13:20:09 +10:00
storage.go Implement Cosmos DB for the Media API (#11) 2021-05-31 13:20:09 +10:00
thumbnail_table.go Add CT and UT to all documents and refactor (#17) 2021-09-20 17:41:04 +10:00