The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::FileMaker::XML::ResultSet

SYNOPSIS

This module handles the hash returned by the Net::FileMaker::XML search methods. Don't call this module directly, instead use Net::FileMaker::XML.

METHODS

fields_definition

Returns an hash with the fields' definition. See Net::FileMaker::XML::FieldsDefinition::Field.

http_response

Returns the http response for this call. Returns an HTTP::Response object.

datasource

Return an hash with useful information about the datasource. You don't need to use this information to parse the date, time or timestamp fields as it is already done by the get_inflated methods of each row returned by the rows method.

the hash contains:

  • database

        database file name
  • layout

        kind of layout, eg. 'List
  • timestamp-format

        eg. 'MM/dd/yyyy HH:mm:ss'
  • date-format

        eg. 'MM/dd/yyyy'
  • time-format

        eg. 'HH:mm:ss'
  • table

        name of the selected database table
  • total-count

        total count of the records in the selected table

xmlns

Returns the XML namespace of the response.

version

Returns the XML version of the response.

product

Returns an hash with information about the FileMaker Server.

total_count

Returns an integer representing the total number of rows that match the research but does not take into account the limit clause.

fetch_size

Returns an integer representing the total number of rows of the resultset, but does take into account the limit clause.

rows

Returns all the rows of the resultset as Net::FileMaker::XML::ResultSet::Row objects.

next_row

Returns the next Net::FileMaker::XML::ResultSet::Row if available, if not returns an undefined value.

reset_index

Resets the index for the next method to the first value