elixir-ecto / db_connection

Database connection behaviour
http://hexdocs.pm/db_connection/DBConnection.html
306 stars 113 forks source link

Add DBConnection.available_start_options/0 #290

Closed whatyouhide closed 1 year ago

whatyouhide commented 1 year ago

This would be awesome in Xandra for example, because we could split start options in

  1. Xandra options, which we validate
  2. DBConnection options, which we pass down to DBConnection
  3. Any other option, for which we'd raise as "unknown option"

If this is a good addition, I can do the same for t:DBConnection.option/0.

josevalim commented 1 year ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: