Net::FileMaker::XML::Database
This module handles all the tasks with XML data. Don't call this module directly, instead use Net::FileMaker::XML.
use Net::FileMaker::XML; my $fm = Net::FileMaker::XML->new(host => $host); my $db = $fm->database(db => $db, user => $user, pass => $pass); my $layouts = $db->layoutnames; my $scripts = $db->scriptnames; my $records = $db->findall( layout => $layout, params => { '-max' => '10'}); my $records = $db->findany( layout => $layout, params => { '-skip' => '10'});
Returns an arrayref containing layouts accessible for the respective database.
Returns an arrayref containing scripts accessible for the respective database.
Returns a Net::FileMaker::XML::ResultSet for a specific database and layout.
Returns a Net::FileMaker::XML::ResultSet of all rows on a specific database and layout. nocheck is an optional argument that will skip checking of parameters if set to 1.
nocheck
Returns a Net::FileMaker::XML::ResultSet of random rows on a specific database and layout. nocheck is an optional argument that will skip checking of parameters if set to 1.
Updates the row with the fieldname/value pairs passed to params. Returns a Net::FileMaker::XML::ResultSet object.
Deletes the record with that specific record id and returns a Net::FileMaker::XML::ResultSet object.
Creates a new record and populates that record with the fieldname/value pairs passed to params.
Returns an Net::FileMaker::XML::ResultSet object.
Returns a scalar with the total rows for a given layout.
To install Net::FileMaker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::FileMaker
CPAN shell
perl -MCPAN -e shell install Net::FileMaker
For more information on module installation, please visit the detailed CPAN module installation guide.