I’m fairly new to Elixir, so please forgive me if my question is super stupid
I’m trying to run a query and return data when a user sends a request to my api, but Xandra requires a
conn variable to be passed:
And I can’t really pass it in a request because conn is defined in the start function when the Raxx server is started, and the request handler is in another file
Have you had this problem before? How did you solve it?
Thanks in advance everyone