Closed thegaryroberts closed 7 years ago
I see now the Postgrex.close(pid) line is only in the video & the book. It's removed from the files here on github, along with the "res" return value.
Cheers thanks for this. I'm updating the videos/book currently and I'll make sure that gets fixed.
Good stuff - comment added thank you!
I get error Postgrex.close/1 is undefined or private in the example where we are using the Postgrex driver directly. The Postgrex docs only show close/3 & close!/3 (although 1 of the parameters is optional so I think that also makes it close/2).