Open vitaly-t opened 7 years ago
@vitaly-t thank you for the advice and for making your library available! My first implementation was pretty choppy, but have started to read through your docs more to figure things out (hence, https://github.com/awitherow/aethernode/issues/74). Thanks for pointing this issue out too!
pg-promise-demo is the best guideline :wink:
to consider that may be your
getUser
implementation should use methodoneOrNone
instead ofone
;)this is how users are normally checked, i.e. it is generally a bad pattern to reject when a record such as user isn't found based on a filter ;)
but then again, it is a general concept, your case may be different ;)