$sql.resultSet.first

Moves the cursor to the first row in this ResultSet object.
Syntax
    $sql.resultSet.first{}
    $sql.resultSet{first}
DocumentationMoves the cursor to the first row in this ResultSet object.:

    Paramter:
      none
    Returns:
      true if the cursor is on a valid row; false if there are no rows in the result set
    Throws:
      SQLException - if a database access error occurs or the result set type is TYPE_FORWARD_ONLY
Examples
GroupSQL
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters0
Maximum parameters 0