Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

min

min

Selects an item from the input sequence argument whose value is less than or equal to the value of every other item in the input sequence. If there are two or more such items, then the specific item whose value is returned is implementation dependent.

Syntax

fn:min(arg, collation)
The following table describes the argument for this command:
Argument
Required/Optional
Description
arg
Required
The sequence of values.
collation
Required
The collation to use for comparing strings.

Return Value

xs:anyAtomicType?
NULL if all values passed to the function are NULL, or if no rows are selected (for example, the filter condition evaluates to FALSE or NULL for all rows).

Examples

The following table lists some sample values and return values:
SAMPLE FUNCTION
OUTPUT
fn:min( (2.0, 1, 3.5, 4) )
1
fn:min( ('a', 'b', 'c') )
a

0 COMMENTS

We’d like to hear from you!