SELECTm.*FROMmessenger_messagesmWHERE (m.queue_name=?) AND (m.delivered_atisnullORm.delivered_at<?) AND (m.available_at<=?) ORDER BYavailable_atASCLIMIT1FORUPDATESKIPLOCKED
SELECTm.*FROMmessenger_messagesmWHERE
(m.queue_name=?)
AND (
m.delivered_atisnullORm.delivered_at<?
)
AND (m.available_at<=?)
ORDER BYavailable_atASCLIMIT1FORUPDATESKIPLOCKED
SELECTm.*FROMmessenger_messagesmWHERE (m.queue_name='default') AND (m.delivered_atisnullORm.delivered_at<'2024-11-21 12:25:11') AND (m.available_at<='2024-11-21 13:25:11') ORDER BYavailable_atASCLIMIT1FORUPDATESKIPLOCKED;