Oliver Gorwits > App-Netdisco-2.026000 > App::Netdisco::DB::ResultSet::DevicePort

Download:
App-Netdisco-2.026000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: App-Netdisco-2.029007

ADDITIONAL METHODS ^

with_times

This is a modifier for any search() (including the helpers below) which will add the following additional synthesized columns to the result set:

lastchange_stamp

with_free_ports

This is a modifier for any search() (including the helpers below) which will add the following additional synthesized columns to the result set:

is_free

In the $cond hash (the first parameter) pass in the age_num which must be an integer, and the age_unit which must be a string of either days, weeks, months or years.

only_free_ports

This is a modifier for any search() (including the helpers below) which will restrict results based on whether the port is considered "free".

In the $cond hash (the first parameter) pass in the age_num which must be an integer, and the age_unit which must be a string of either days, weeks, months or years.

with_vlan_count

This is a modifier for any search() (including the helpers below) which will add the following additional synthesized columns to the result set:

vlan_count

SPECIAL METHODS ^

delete( \%options? )

Overrides the built-in DBIx::Class delete method to more efficiently handle the removal or archiving of nodes.

syntax highlighting: