webmcp

view demo-app/app/main/_prefork/01-models.lua @ 342:061ee100f1c1

Bugfix: respect "index" argument to request.get_param{...} function; Allow access to metadata of POST fields in request.get_param{...}
author jbe
date Tue Mar 24 23:54:14 2015 +0100 (2015-03-24)
parents 2169a62e12f5
children
line source
1 function mondelefant.class_prototype:by_id(id)
2 return self:new_selector()
3 :add_where{ "id = ?", id }
4 :optional_object_mode()
5 :exec()
6 end
7 execute.inner()

Impressum / About Us