Single Character String Filter

@search(by [term, regexp])

queryYourType(filter: { name: { regexp: "/Julian?/" } }) { ... }

Regexp is a whole language within itself. This example with a question mark says to match with or without the “n” character. You could make it any character replacing “n” with “.”

A regexp filter uses a trigram index under the hood which requires the regexp to be at least 3 characters.