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

PostgreSQL - Could not convert value to IpAddr #40

Open
carlos-rian opened this issue Dec 29, 2022 · 0 comments
Open

PostgreSQL - Could not convert value to IpAddr #40

carlos-rian opened this issue Dec 29, 2022 · 0 comments
Labels
not a bug The quaint doesn't have support yet.

Comments

@carlos-rian
Copy link
Owner

Description

I ran a query_raw where the PostgreSQL column is of type CIDR or MacAddr but I got this error.

This message is in the src/ast/values.rs file, line 788.

Value in column: 192.168.100.128/25 and 08:00:2b:01:02:03

Error

CIDR
Error querying the database: error deserializing column 24: cannot convert between the Rust type core::option::Option<std::net::ip::IpAddr> and the Postgres type cidr

MacAddr has the same problem
Column type 'macaddr' could not be deserialized from the database.

issue core link: prisma/quaint#416

@carlos-rian carlos-rian added the not a bug The quaint doesn't have support yet. label Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not a bug The quaint doesn't have support yet.
Projects
None yet
Development

No branches or pull requests

1 participant