Ecto Oracle adapter

I got DBConnection.prepare_execute working (yay :slight_smile:) which is fetch everything untill end of table.

Next step is to do the cursor, i.e. fetch in batches. I implemneted handle_declare/4 and handle_fetch/4 functions. Now I am stuck trying to invoke them! As per my undertsanding above I should call prepare_stream/4, but unlike prepare_execute/4 the first argument of prepare_stream/4 is t() (%DBConnection{}) and not GenServer.server(). DBConnection.start_link only gives back a {:ok, pid()} (which seems to be same as GenServer.server()).

How do I get a t() from DBConnection.start_link?

TIA