I recently started using DataMapper, great tool. I’m trying to use MySQL’s INET_ATON to store a users IP (in a numerical value), and then retrieve the IP using INET_NTOA, however I don’t know if DataMapper even supports these the use of these functions. Anyone with some DMZ experience who knows if this can be done?
MySQL documentation on INET_NTOA/INET_ATON:
http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_inet-aton
Thanks for your time!