def UpsertAggregateInstance(self, aggregateId, snapshot, indexValues):
upsertStatement = PostgresStatement.UpsertAggregateInstance.format(self.tableNames.instanceBaseTableName)
self.ExecuteSingle(upsertStatement, aggregateId, Json(indexValues), psycopg2.Binary(snapshot))
评论列表
文章目录