lapis
lapis copied to clipboard
A web framework for Lua and OpenResty written in MoonScript
I have a web page with a form for users to enter their name and a comment. After submitting this form, I put a "Thank you" message in session to...
If i throw error in postgres stored procedure like raise exception 'something' using errcode='OF001'; — i get only the message ``` lps_1 | 2016/05/12 09:13:41 [notice] 21#0: *181 [lua] app.lua:22:...
When executing `lapis migrate [env]` or `lapis build [env]`, what exit codes are possible? Is it just `0` for success and `1` for failure, or are there more specific codes...
I am using Lua and I want to have a development console to my app. I want to be able to run db queries from the console using my lapis.db...
Postres allows a session to cache prepared statements on server-side. http://www.postgresql.org/docs/9.2/static/sql-prepare.html > A prepared statement is a server-side object that can be used to optimize performance. This change doesn't affect...
Hi there - I noticed that if a larger request is buffered to a file, `read_body_as_string` doesn't return any data. The lapis request object appears to only call `ngx.req.get_body_data()` which...
Now the startup and installation commands of lapis rely on luarocks, however, on windows, such as luasocket and luaossl luarocks commands are outdated, in this case I can only compile...
local lapis = require("lapis") local app = lapis.Application() local json_params = require("lapis.application").json_params app:before_filter(json_params)
Since lapis doesn't Abstract the database types like other frameworks, wouldn't it be beneficial to specify in the docs what types are available(or not) for each db
From my understanding, Lapis' scheme type `foreign_key` is just an alias for `integer` and does not create an actual constraint. the only way to add a foreign key constraint to...