Database independent interface for Erlang