logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Octopussy::Table - Octopussy Table module

Author

       Sebastien Thebert <octo.devel@gmail.com>

perl v5.22.2                                       2016-05-04                                Octopussy::Table(3)

Functions

New(\%conf)
       Creates a new Table with configuration '$conf'

       Parameters:

       \%conf - hashref of the new Table configuration

   Clone($table,$cloned_table)Remove($table)
       Removes the Table '$table'

       Parameters:

       $service - Name of the Table to remove

   List()
       Get List of Tables

   Filename($table)
       Get the XML filename for the Table '$table'

   Configuration($table)
       Get the configuration for the Table '$table'

   Configurations($sort)
       Get the configuration for all Tables

   Add_Field($table,$fieldname,$fieldtype)
       Adds Field '$fieldname' of type '$fieldtype' to Table '$table'

   Remove_Field($table,$fieldname)
       Removes Field '$fieldname' from Table '$table'

   Fields($table)
       Gets fields from Table '$table'

   Fields_Configurations($table,$sort)
       Gets the configuration for all Fields

   SQL($table,$fields,$indexes)
       Generates SQL code to create the Table '$table'

   Field_Type_List($table,$type)
       Gets field list from Table '$table' where Field type is '$type'

   Devices_and_Services_With($table)
       Returns one arrayref of devicegroups, one of devices and one of services which contains messages with
       Table '$table'

   Valid_Pattern($table,$pattern)Updates_Installation(@tables)Update_Get_Fields($table)Updates_Diff($table)Valid_Name($name)
       Checks that '$name' is valid for a Table name

Name

       Octopussy::Table - Octopussy Table module

See Also