bloomberg / comdb2

Bloomberg's distributed RDBMS
Other
1.36k stars 209 forks source link

Elixir (erlang) driver #922

Open fire opened 6 years ago

fire commented 6 years ago

Is there any interest for an Elixir driver?

There are three approaches:

  1. Binding elixir using the c api.

  2. Use an odbc driver https://github.com/riverszhang89/cdb2odbc

  3. Write a pure elixir driver.

Any suggestions?

riverszhang89 commented 6 years ago

Using cdb2odbc with Erlang odbc module doesn't really qualify as a driver, although it works. I'd personally prefer a thin wrapper around the C API as it's easier to implement than writing a pure Erlang driver.