liquid_feedback_frontend
annotate model/survey_answer.lua @ 1859:02c34183b6df
Fixed wrong filename in INSTALL file
| author | bsw |
|---|---|
| date | Tue Nov 28 18:54:51 2023 +0100 (23 months ago) |
| parents | 5a8a09119865 |
| children |
| rev | line source |
|---|---|
| bsw@1735 | 1 SurveyAnswer = mondelefant.new_class() |
| bsw@1735 | 2 SurveyAnswer.table = 'survey_answer' |
| bsw@1735 | 3 |
| bsw@1735 | 4 function SurveyAnswer:by_pk(survey_answer_set_ident, member_id) |
| bsw@1735 | 5 return self:new_selector() |
| bsw@1735 | 6 :add_where{ "survey_answer_set_ident = ?", survey_answer_set_ident } |
| bsw@1735 | 7 :add_where{ "survey_question_id = ?", question_id } |
| bsw@1735 | 8 :optional_object_mode() |
| bsw@1735 | 9 :exec() |
| bsw@1735 | 10 end |