alexdesousa / ayesql

Library for using raw SQL in Elixir
MIT License
135 stars 13 forks source link

Passing through additional options to Postgrex #22

Closed thdxr closed 2 years ago

thdxr commented 3 years ago

I need to be able to pass the timeout parameter. Think it's as simple as modifying the runner to accept a timeout argument. Will submit in a PR if that makes sense

alexdesousa commented 3 years ago

@thdxr Yes! This would be great! Right now the runner is limited due to this fact. At first glance, your suggestion checks out :)

alexdesousa commented 2 years ago

@thdxr I added this functionality in the latest version. Just pass timeout as an option. Let me know if that works for you :slightly_smiling_face:

alexdesousa commented 2 years ago

Fixed in #24