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

Download:
App-Netdisco-2.026000.tar.gz

Dependencies

Annotate this POD

Website

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

ADDITIONAL METHODS ^

search_by_field( \%cond, \%attrs? )

This variant of the standard search() method returns a ResultSet of Device Module entries. It is written to support web forms which accept fields that match and locate Device Modules in the database.

The hashref parameter should contain fields from the Device Module table which will be intelligently used in a search query.

In addition, you can provide the key matchall which, given a True or False value, controls whether fields must all match or whether any can match, to select a row.

Supported keys:

matchall

If a True value, fields must all match to return a given row of the Device table, otherwise any field matching will cause the row to be included in results.

description

Can match the description field as a substring.

name

Can match the name field as a substring.

type

Can match the type field as a substring.

model

Can match the model field as a substring.

serial

Can match the serial field as a substring.

class

Will match exactly the class field.

ips

List of Device IPs containing modules.

syntax highlighting: