Support for MariaDB INET4 / INET6
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.9k
- Forks
- 734
- Avg merge
- 6h 36m
- Merged PRs (30d)
- 8
Description
Motivation
I want to query or insert IpAddr on a MariaDB table.
Proposed Solutions
When INET6 / INET4 is declared use IpAddr. Also remember that INET6 can be IPv4 or IPv6.
Additional Information
https://mariadb.com/docs/server/reference/data-types/string-data-types/inet4
https://mariadb.com/docs/server/reference/data-types/string-data-types/inet6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating SeaORM's MariaDB type-mapping and IpAddr handling, then trace how declared INET4 and INET6 columns are converted for queries and inserts. Done means both types are supported, with INET6 accepting IPv4 and IPv6 addresses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mariadb, rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100