leafo / lapis

A web framework for Lua and OpenResty written in MoonScript
http://leafo.net/lapis/
MIT License
3.14k stars 247 forks source link

ADD CUSTOM BACKEND #719

Open emadsamir opened 3 years ago

emadsamir commented 3 years ago

I have a need for customizing mysql backend provided in the code I am aware of the set_backend("raw", function() end) option, tried it and got errors from unpack function in model_base.lua I am suggesting exposure of the BACKENDS or function to add to it.