Pātengi is a thin layer over other database adapters that makes them look the same.
If the adapter lacks features, it fakes them. (For the moment, this only means that it fakes named parameters for pgsql).
It can't fix the differences in SQL dialects, but it has a cheap macro (in the C sense) mechanism.
Pātengi is Māori for "database" (well, storehouse. Pātengi raraunga would be better but that's a bit long)
Mostly because I didn't read the docs for lua-dbi carefully enough and thought it didn't support query parameters.
By the time I was kindly corrected, I'd already got this far and my binding suited me a little better.
Sorry, I haven't got to makefiles or rockspecs yet.
Lua >= 5.1 or LuaJIT >= 2.0.0.
- Incomplete
- Tests?
- Many!