withinrow
Withinrow is a term encountered in data processing and software libraries describing a row-oriented predicate that evaluates a value against data located in the same row of a table or record set. In practice, withinrow can refer to two related patterns. The first is membership within the row: a test whether a given value matches any of the values held in other columns of the same row. The second is range containment: a test whether a value falls within a numeric or categorical range defined by columns in the same row, for example a value between min_value and max_value.
Usage of withinrow is typically in per-row validation, filtering, or constraint checking. It is evaluated independently
Example: suppose a row has fields min_value, max_value, and candidate. withinrow(candidate) would be true if min_value
Implementation notes depend on the language or library. Withinrow is often expressed as a row-wise map operation
See also: row-wise operations, range checks, data validation, per-row computation. History: the term is used informally