He answered in the post that he uses LogTen Pro[1] which enables querying with SQL[2]. In the SQL post he says the app has an export for CSV but the app stores it in SQLite which you can access and query from directly.
[1] https://logten.com/ [2] https://jameshard.ing/posts/querying-logten-pilot-logbook-sq...