[erlang-questions] sqlite interface module (and interfacing C libraries in general).

t ty <>
Fri Jul 11 17:19:41 CEST 2008


Tested on MacOS 10.5.x

The sqlite_test gives some example usage.

As fall back you can always do sqlite:sql_exec/2 which makes a direct
sqlite3_exec call.

Remember to put sqlite/priv into your path or it won't be able to find
sqlite_port.

My general motivation is to use sqlite as the simple SQL dbase for
reports. There are too many in-house reporting tools which assumes an
SQL interface of some sort. Plus I find sqlite far easier to setup
compared to mysql/postgress etc.

Tee

On Fri, Jul 11, 2008 at 10:50 AM, Nicola Lugato <> wrote:
> Sure i'll be glad to look at it, but consider i'm quite new to erlang.
> I hope i'll also be able to understand how to interface to a c library
>
> On Fri, Jul 11, 2008 at 4:01 PM, t ty <> wrote:
>> I am working on one :)  Just haven't had the time to put in docs. I
>> can send you what I have if you are willing to put up with it.
>>
>> t
>>
>> On Fri, Jul 11, 2008 at 9:33 AM, Nicola Lugato <> wrote:
>>> Hello, i was wandering if a module for interfacing sqlite exists.. I
>>> searched on google but no useful results came out.
>>> Also, supposing i have a C library (a shared object or dll), how can i
>>> write a binding for it for erlang?
>>>
>>> Thanks, Nicola
>>> _______________________________________________
>>> erlang-questions mailing list
>>> 
>>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqllite.tar.gz
Type: application/x-gzip
Size: 31388 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080711/d44be0f1/attachment.bin>


More information about the erlang-questions mailing list