Net::FileMaker::XML::ResultSet::Row(3)

NAME
Net::FileMaker::XML::ResultSet::FieldsDefinition::Row

SYNOPSIS
This module handles the single row of the resultset returned by the Net::FileMaker::XML search methods. Don't call this module directly, instead use Net::FileMaker::XML.

METHODS

  mod_id
Returns the mod id for this row.

  record_id
Returns the record id for this row.

  get('colname')
Returns the value of the selected column for this row.

  get_type('colname')
Returns the type of the selected column for this row.

  get_max_length('colname')
Returns the type of the selected column for this row.

  get_inflated('colname')
Returns the value of the selected column for this row. If the type is date, time or datetime returns, it will return a DateTime object.

  get_columns
Returns an hash with column names & relative values for this row.

  get_inflated_columns
Returns an hash with column names & relative values for this row. If the type is date, time or datetime returns a DateTime object.

  update(params => { 'Field Name' => $value , ... })
Updates the row with the fieldname/value pairs passed to params, returns an Net::FileMaker::XML::ResultSet object.

Dates and Times editing

Filemaker accepts time|date editing as a string only in the format defined in the datasource, otherwise throws an error. If you don't want to mess around with that this method allows you to pass a DateTime object and does the dirty work for you.

Multiple values fields

This method gives you the possibility to pass an array as a value for multiple-values-fields. Obviously you can pass also an array of DateTimes.

  remove(params => { 'Field Name' => $value , ... })
Deletes this row, returns an Net::FileMaker::XML::ResultSet object.