[refactor] more explicit type constructors

It's better to enumerate fields than not - easier to search later.

Also, a performance improvement for queryNgramsOccurrences (no VALUES).
parent 0f038a40
Pipeline #5829 passed with stages