I prepare to rewrite one of our applications using Phalcon framework. In the database we store the IP addresses of our devices, and IP allocated to customers as the number (integer). The same applies to the MAC address.
How to write the conversion of the IP address and MAC address to the numbers?
I care about the termination of operating in two directions:
- insert, update
- select
I have not found mention in the documentation on the subject. Below I've included links to documentation of how it is possible to do Symfony/Doctrine:
Thank you in advance for help