How do I replicate this mongodb regex in query using mongo-scala-driver?

150 Views Asked by At

I can query mongodb directly using this query {key: {$in: [/faq/]}} but how do I replicate this when using Filters#in?

in("key", Seq("/faq/")) doesn't work as it gets passed as a string.

0

There are 0 best solutions below