webmcp

view demo-app/app/main/_prefork/01-models.lua @ 412:7d43be9afa56

Improved memory cleanup in case of out-of-memory errors (PQnotifies and PQunescapeBytea)
author jbe
date Fri Jan 08 03:10:33 2016 +0100 (2016-01-08)
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