Skip to content

Commit

Permalink
optimizing tag updater
Browse files Browse the repository at this point in the history
  • Loading branch information
RudiThoeni committed Dec 4, 2024
1 parent d9bb44b commit 5cc9b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OdhApiImporter/Helpers/CUSTOM/CustomDataOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ public async Task<int> UpdateAllODHActivityPoiTagIds()
//Load all data from PG and resave TODO filter only where TagIds = null
var query = QueryFactory.Query()
.SelectRaw("data")
.From("smgpois");

.From("smgpois")
.WhereRaw("data#>>'{TagIds}' IS NULL");


var data = await query.GetObjectListAsync<ODHActivityPoiLinked>();
Expand Down

0 comments on commit 5cc9b34

Please sign in to comment.