liquid_feedback_frontend

view model/scheduled_notification_to_send.lua @ 1641:ab837b075cf7

Fixed mldap_get_named_number_arg to not leave any element on the Lua stack (should not have had any effect anyway but is now consistent to documentation)
author jbe
date Tue Feb 09 17:44:47 2021 +0100 (2021-02-09)
parents 659e3eda2fad
children
line source
1 ScheduledNotificationToSend = mondelefant.new_class()
2 ScheduledNotificationToSend.table = 'scheduled_notification_to_send'
4 function ScheduledNotificationToSend:get_next()
5 return self:new_selector()
6 :add_order_by("pending DESC")
7 :add_order_by("random()")
8 :limit(1)
9 :optional_object_mode()
10 :exec()
11 end

Impressum / About Us