You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vitaly-t Wow, what great OSS support! Thanks for the tip, so to make sure that understand you correctly, oneOrNone wouldn't throw an error so I would need to check for null in a followup .then, right? Something like:
https://github.com/Cadasta/ZipStream/blob/3b95b03cb92fe0362b7900c4c7b86f8929030404/src/backends/db/postgres/index.js#L40
if you just use
oneOrNone
instead ofone
, you won't need to do this kind of error handling, just check fornull
;)The text was updated successfully, but these errors were encountered: