Closed charles-cooper closed 8 years ago
From () to Either ValidationError Bool. The ValidationError is thrown when > 1 records are returned from DELETE (as that indicates there is something wrong with the schema). Otherwise True is returned for 1 record, False is returned for 0 records.
()
Either ValidationError Bool
ValidationError
> 1
DELETE
True
False
Fix #15
@alevy any outstanding concerns on this one?
Nope. Sorry for the delay merging this
From
()
toEither ValidationError Bool
. TheValidationError
is thrown when> 1
records are returned fromDELETE
(as that indicates there is something wrong with the schema). OtherwiseTrue
is returned for 1 record,False
is returned for 0 records.Fix #15