summaryrefslogblamecommitdiffstats
path: root/sql/message_get_unread_by_clientid.sql
blob: e084dd895d8a553899a96c77ad2bf7eebb3e2a04 (plain) (tree)
1
                                                                                                                    
select count(*) as unread from messages where message_to_client_id= :message_to_client_id: and message_flag_read= 0;