liquid_feedback_frontend

view model/delegating_interest_snapshot.lua @ 211:4993b71b383f

First checkin of lf2 (frontend second generation) prototype
author bsw
date Wed Mar 02 20:06:26 2011 +0100 (2011-03-02)
parents
children
line source
1 DelegatingInterestSnapshot = mondelefant.new_class()
2 DelegatingInterestSnapshot.table = 'delegating_interest_snapshot'
3 DelegatingInterestSnapshot.primary_key = { "issue_id", "event", "member_id" }
5 function DelegatingInterestSnapshot:by_pk(issue_id, event, member_id)
6 return self:new_selector()
7 :add_where{ "issue_id = ? AND event = ? AND member_id = ?", issue_id, event, member_id }
8 :optional_object_mode()
9 :exec()
10 end

Impressum / About Us