Skip to content

Commit 1e1e52c

Browse files
committed
docs: comment syntax
1 parent 50dd02f commit 1e1e52c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

VirtualFinland.UsersAPI.AdminFunction/AdminApp/Actions/UpdateAnalyticsAction.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ public async Task Execute(string? _)
7474
});
7575
}
7676

77+
// Retrieves the amount of persons by audience
78+
// Note: as of the column data is stored as a comma separated string and modelled as List<string> in the code (the model-first approach),
79+
// composing this query with fluent syntax proved to be rather difficult. Maybe revisit this with newer version of EF Core.
7780
var rawQuery = @"
7881
SELECT COUNT(*) AS Amount, regexp_split_to_table(""Audiences"", ',') AS Audience
7982
FROM ""ExternalIdentities""

0 commit comments

Comments
 (0)