Jun 21, 2020
0
Level 1
Append records before saving to database
Hello,
In my Nova resource i have a field for IP address.It works fine for single IP address (10.0.0.0) but now i want to be able to support subnet like 10.0.0.0/24. Now when i save a record with an Eloquent Model , how can i duplicate the records , change the IP for each and let nova save to database.
As of now i would need to manually add 255 ips to database from nova which is tedious
Please or to participate in this conversation.