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 13:20:12') AND (m.available_at<='2024-11-21 14:20:12') ORDER BYavailable_atASCLIMIT1FORUPDATESKIPLOCKED;