Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for mongo #623

Open
opensourcegeek opened this issue Nov 14, 2023 · 2 comments
Open

Support for mongo #623

opensourcegeek opened this issue Nov 14, 2023 · 2 comments

Comments

@opensourcegeek
Copy link

Is there a plan to support mongo natively, like how you've got a conversion at driver level to NUMERIC type? Mongo supports decimal 128, wondered if that's something this library could target as well out of the box.

@paupino
Copy link
Owner

paupino commented Dec 22, 2023

It is not currently planned, however it's also not outside the realm of possibility. I'm not familiar with the mongodb write protocol so it'd require a bit of research to see how it serializes the type via the driver. At a quick glance, it could be as simple as leveraging bson and serde... but I'd need to really dig a bit deeper.

I'd be certainly open to contributions if anyone gets a chance also!

@opensourcegeek
Copy link
Author

Yes, I was thinking it'll be helper functions to serialize/deserialize. I can have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants