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
is there anything special that needs to be done to use the generated code in a go routine? I'm doing an asynchronous proof-of-concept using go routines and channels, and I keep getting 'no such table' errors when ever I try to read from the returned channels.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
is there anything special that needs to be done to use the generated code in a go routine?
I'm doing an asynchronous proof-of-concept using go routines and channels, and I keep getting 'no such table' errors when ever I try to read from the returned channels.
in my main.go, I call the async function:
Then, later, I check the channels:
But, when it runs, I get
no such table: users
event though I can query the table and pull back all the rows outside of a go routine.Beta Was this translation helpful? Give feedback.
All reactions