const maxOneRecord = R.curry((table, field, value) => R.compose(
  R.when(R.lt(ONE), Err.TooManyRecords.throw(STORE, table, field, value))
, R.length
))