Hi.
I'm trying to run a regex query against the items on an embedded array (I have an index on that field), but it seems the regex filter only works on String properties.
Is it possible to add similar methods for string iterables? Something along the lines of:
infix fun KProperty<Iterable<String?>>.regex(regex: Regex): Bson = Filters.regex(path(), regex.toPattern())
etc. ?
Thanks,
Yuval Sapir