[erlang-questions] ErlSQL: easy expression and generation of SQLstatements in Erlang

Ulf Wiger (TN/EAB) <>
Sun Sep 17 14:01:57 CEST 2006


One thing to explore might be what Dialyzer can make of it.
If the structure is regular enough, and the functions
taking apart the erlSQL structure use explicit pattern
matching, Dialyzer should be able to detect a reasonable
number of malformed expressions already at compile-time,
I think. This would certainly add some value over writing
SQL as strings in your code.

Ulf W

> -----Original Message-----
> From:  
> [mailto:] On Behalf Of Yariv Sadan
> Sent: den 16 september 2006 22:59
> To: erlang-questions
> Subject: [erlang-questions] ErlSQL: easy expression and 
> generation of SQLstatements in Erlang
> Hi,
> I created a small library, called ErlSQL, for expressing and 
> genering SQL statements in Erlang. ErlSQL makes it easy to 
> dynamically generate SQL-injection free statements from 
> Erlang. ErlSQL will be included in ErlyDB, but you can also 
> use it independently if you're working with the MySQL or 
> Postgres driver directly, for instance.
> You can grab it at http://code.google.com/p/erlsql
> For more information, visit
> http://yarivsblog.com/articles/2006/09/16/introducing-erlsql-e
> asy-expression-and-generation-of-sql-statements-in-erlang.
> Best regards,
> Yariv
> _______________________________________________
> erlang-questions mailing list
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list