arquero
Version:
Query processing and transformation of array-backed data tables.
13 lines (12 loc) • 561 B
TypeScript
/**
* Annotate an expression to indicate it is a string field reference.
* @param {string|object} expr The column name, or an existing wrapped
* expression for a column name.
* @param {string} [name] The column name to use. If provided, will
* overwrite the input expression value.
* @param {number} [table=0] The table index of the field, in case of
* expressions over multiple tables.
* @return A wrapped expression for a named column.
* @example field('colA')
*/
export function field(expr: string | object, name?: string, table?: number): any;