[Networkwatchman-developers] New DB method: get_all_devices_quick()
Status: Alpha
Brought to you by:
perlstalker
|
From: Randy S. <per...@fa...> - 2003-12-16 20:13:46
|
FYI, I've added a new method, get_all_devices_quick(), to the DB that should make Device look ups faster. get_all_devices_quick() takes an optional parameter that is an attribute name. This defaults to the IPAddr attribute. get_all_devices_quick() returns a list of all devices that have the passed attribute but the devices are "crippled." They only have their id, type, Remarks and the passed attribute set. If you need full devices, use get_all_devices(). -- Randy Smith per...@fa... "Work is the miracle by which talent is brought to the surface and dreams become reality." - Gordon B. Hinckley |