NAME

Net::FileMaker::XML::Database

SYNOPSIS

This module handles all the tasks with XML data.

use Net::FileMaker::XML;
my $fm = Net::FileMaker::XML->new();
my $db = $fm->database(db => $db, user => $user, pass => $pass);

my $layouts = $db->layoutnames;
my $scripts = $db->scriptnames;

METHODS

layoutnames

Returns an arrayref containing layouts accessible for the respective database.

scriptnames

Returns an arrayref containing scripts accessible for the respective database.

findall(layout => $layout, params => { parameters }, nocheck => 1)

Returns all rows on a specific database and layout.

nocheck is an optional argument that will skip checking of parameters if set to 1.

findany(layout => $layout, params => { parameters }, nocheck => 1)

Returns a random hashref of rows on a specific database and layout.

nocheck is an optional argument that will skip checking of parameters if set to 1.

total_rows($database, $layout)

Returns a scalar with the total rows for a given database and layout.