lapis icon indicating copy to clipboard operation
lapis copied to clipboard

A web framework for Lua and OpenResty written in MoonScript

Results 130 lapis issues
Sort by recently updated
recently updated
newest added

PostgreSQL has a JSON type that I think would be very handy to have exposed in Lapis. One major use case I can think of would be the ability to...

Hi! Openresty mysql driver https://github.com/openresty/lua-resty-mysql provides the ability to specify a character set for a connection using the 'charset' option. Is it possible to add this parameter to the lapis...

Please add `fields` option to relations. For example with `has_many`: ```lua local Users = Model:extend("users", { relations = { {"files", has_many = "Files", fields='id, user_id, name' } } }) ```...

So I was rewatching the 2016 talk that Leaf did on Lapis and I really liked the sub-application stuff. I tried restructuring my application to use sub-applications and I ran...

It's common to store UUIDs as binary, however the BIT type is too small and a BLOB is too large. Can we get BINARY and VARBINARY types?

Currently there are places that use uppercase letters like `SELECT` when composing a SQL query, and other places that use lowercase letters like `from`. It's better to have all SQL...

I am working on website where I want to download large files from MySQL, but I get this error when selecting: ``` Internal server error: .../share/lua/5.1/lapis/db/mysql.lua:137: packet size too big:...

How is the caching logic implemented? The docs don't really disclose that. Specifically, is the implementation vulnerable against a [cache stampede](https://news.ycombinator.com/item?id=17417292) attack? Vulnerable: ```text if (!inCache(key)) expensive_calc() setCache(key) ``` Safe:...

I have a use case where I may want to access several databases within the same app. I know Lapis isn't designed to do this, is there a quick and...

I can't find out a way to manage multiple db with lapis mysql model, So I add "options" parameter to "Model.extend" method, it looks like "_entity = Model:extend(default_options, "menus", {...