query.currentRow()

return the row where the pointer of the query is pointing ATM

query.currentRow( )

Returns: [[object-number|Numeric]

This function does not take any arguments.

Examples

myquery = queryNew("id,name","int,varchar",[["1","jhon"],["2","mike"]]);
	writeDump(myquery);
	currentrow = myquery.currentrow();
	cfloop(query=myquery) {
		writeDump(currentrow);
	}

See also