Skip to content

Converts an IPv4 address string to a numeric value.

func.inet_aton(<ip_str>)
func.inet_aton('192.168.1.1')
┌────────────┐
3232235777
└────────────┘
INET_ATON(<ip_str>)
SELECT INET_ATON('192.168.1.1');
┌────────────┐
3232235777
└────────────┘