No release in over 3 years
Low commit activity in last 3 years
Compose an IPAddr from an underlying 4-byte integer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.1
~> 10.1
~> 1.3

Runtime

 Project Readme

Composed of IPAddr

Make it easier to store IPs in the db as 4-byte unsigned integers. Indexes well and saves space over a varchar.

Pardon these implementation contortions. In our code, we can just work with an ipaddr attribute using '1.2.3.4' strings and expect implicit coercion to integers.

Requires an int unsigned column named ipv4.