klyn.data.Query.first
method
public first() as T throws NoResultException:
Description

Returns the first row using a one-row provider window.

Without explicit ordering the selected row is provider-dependent and the compiler emits the corresponding KQL determinism warning.

Returns

First row.

Throws
  • NoResultException when the query is empty.
Example
firstUser = query.first()