[erlang-questions] Database abstraction libraries
Andrew Berman
rexxe98@REDACTED
Fri Apr 22 22:58:03 CEST 2016
Cool, I'll check it out. Thanks, Jesse!
On Fri, Apr 22, 2016 at 1:53 PM Jesse Gumm <gumm@REDACTED> wrote:
> Oh, also, while i it's running in production, my systems are not exactly
> heavy load, so it's not terribly battle tested in the heavy load department.
>
> My layer over the underlying drivers is pretty thin however, so there's
> not a *ton* of overhead.
>
> --
> Jesse Gumm
> Owner, Sigma Star Systems
> 414.940.4866 || sigma-star.com || @jessegumm
> On Apr 22, 2016 3:49 PM, "Jesse Gumm" <gumm@REDACTED> wrote:
>
>> Hi Andrew,
>>
>> I'm working on an abstraction library for sql databases. It currently
>> supports mysql (with both mysql-otp and emysql) and postgresql (with
>> epgsql).
>>
>> I have it running in production, but it still has things I'm working on
>> before I would make an official announcement post, but it's at:
>>
>> https://github.com/choptastic/sql_bridge
>>
>> Of the things does that is useful to me:
>>
>> 1) dynamically adding pools for databases using a lookup function.
>> 2) replacement tokens by configuration (for example, if you want to use
>> $1 as a replacement token for queries instead of ? In mysql, just change
>> the configuration.
>> 3) very minimal orm-type features (like converting a map or proplist to
>> an insert statement).
>> 4) retrieving query results in just about any format you want: lists,
>> tuples, maps, proplist, dicts.
>>
>> Early feedback and/or pull requests would be great if this is what you're
>> looking for.
>>
>> -Jesse
>>
>> --
>> Jesse Gumm
>> Owner, Sigma Star Systems
>> 414.940.4866 || sigma-star.com || @jessegumm
>> On Apr 22, 2016 1:30 PM, "Andrew Berman" <rexxe98@REDACTED> wrote:
>>
>>> Hey list,
>>>
>>> Are there any well supported database abstraction libraries out there?
>>> I found a couple on Github (sqerl and sumo_db), but I wanted to see if
>>> there was one that is popular that people are using in production under
>>> heavy load. I'm not looking for an ORM (I had enough bad experience with
>>> it using Hibernate in Java).
>>>
>>> Any experiences?
>>>
>>> Thanks,
>>>
>>> Andrew
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160422/65b6c5b1/attachment.htm>
More information about the erlang-questions
mailing list