definy.sql-missing
- description
- result followed by the hashes from index that no row has as content_hash
- type
Fn(hashes: List<String>, rows: List<@definy.sql-row>) -> List<String>
- expression
fn(hashes$0, rows$1) => let index$2 = @definy.sql-row-index(rows: $1, name: "content_hash"); @core.list-fold( T: String, A: List<String>, reducer: fn(acc$3, item$4) => match @definy.sql-row-find(index: $2, value: $4) { #some(_) => $3, #none(_) => @core.list-append(list: $3, item: $4) }, init: [], xs: $0 )
- visibility
- public
definy.sql-missing (project definy, branch release-time-compare, snapshot JJrRgQW_LZN6tN8CbYr1dN7HosqNTuIWWYx7ACbt1n0) id: 9iyYuMKJ-BefD9meu1NizSqSOoU2JbRkJMfKF-qJg3s content hash: 7kalAa2Bd-kBwNNTUINYF2lorkyJvV-e1Rtwo35yE0M