Regex Field in Document like odmantic bson.Regex #977
Unanswered
lothesven-clauger
asked this question in
Question
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
In the process to migrate from odmantics to beanie, I need to process a List of Regex elements:
I haven't figured out how to do it properly with beanie.
What I managed so far is to declare myField as List[Any] to read the Regex elements in my database and convert then to strings on the go when reading. But this solution can't store Regex, only strings.
This solution seems to work but it feels a bit clunky.
Am i missing something ?
Beta Was this translation helpful? Give feedback.
All reactions