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

convert "userdata: NULL" (NULL columns) into queries with MySQL #737

Open ghost opened 3 years ago

ghost commented 3 years ago

When a SELECT type statement is made and if the columns have a NULL value, lapis returns a data of type userdata: NULL with MySQL, is it possible that it returns a data of type nil instead?