definy.sql-row-index
- description
- The hash index of the rows by the text of the column name (a key column, so the keys are unique), for definy.sql-row-find
- type
Fn(rows: List<@definy.sql-row>, name: String) -> List<List<Record{key: String, row: @definy.sql-row}>>
- expression
fn(rows$0, name$1) => @core.list-hash-index( list: @core.list-map( T: @definy.sql-row, U: Record{key: String, row: @definy.sql-row}, f: fn(item$2) => {key: @definy.sql-text(row: $2, name: $1), row: $2}, xs: $0 ), field: "key" )
- visibility
- public
definy.sql-row-index (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo) id: xpr_EwLXVYp7OSfQc8IvZgbQ9wUvjJEk3yt20TjvZkU content hash: cAGRyTQW4NddnqTgGd5Tmarsu19wjfE8SXhlS3VJ33Q