Hi, how can I find a list of my active reminders and reminders of other users (when I am admin)? For example, I set some reminders for topics and want to review them.
By reminders do you mean bookmarks? Or topic timers?
I mean topic timers, sorry for unclear.
List of topic reminders needs in case if I want to cancel some reminders. Users could watch or cancel their reminders. Staff could manage all reminders.
정확히 말씀드리자면, 현재 토픽 타이머가 설정된 모든 토픽의 목록을 가져오는 방법이 없다는 것이 맞습니까?
현재는 메인 사용자 인터페이스를 통해 지원하지 않지만, Data Explorer를 통해 조회할 수 있습니다:
-- [params]
-- user_id :username
SELECT topic_id
FROM topic_timers
WHERE status_type = 5
AND user_id = :username
AND deleted_at IS NULL
수정: @wesochuck 만료된 타이머와 수동으로 삭제된 타이머를 모두 무시하도록 쿼리를 업데이트했습니다. execute_at은 미래 날짜로 설정된 리마인더를 포착하도록 보장하지만, 만료 전에 수동으로 삭제된 항목도 포함하게 됩니다. 이는 이상적이지 않을 것으로 생각됩니다.
고맙습니다, 작동합니다. and execute_at > CURRENT_DATE도 추가해서 미래에 설정된 항목만 가져오도록 했습니다.