Jean-François Bustarret

Results 6 comments of Jean-François Bustarret

It would be nice also to be able to recall user attributes

Looking forward to it !

Seems awkward to test `Id == ""` if nothing is found. Also, if Id is an integer, you would have to test `Id == 0`, and 0 should be a...

IMHO, `.One` and `.All` should not behave exactly the same. The expected result for `.One` is `nil` (for which I don't see a better solution than returning an error), and,...

Doesn't look good indeed. The error approach (used by the mongodb driver mgo) is much cleaner.

You are right. Here is a new proposal : - `One()` returns `ErrNullResult` - `All()` returns an empty slice - `Scan()` and `Next()` work as before - we add `func...