New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] List users not suscribed to any list #1562
Comments
You can remove them under |
NOT EXISTS (SELECT 1 FROM subscriber_lists sl WHERE sl.subscriber_id = subscribers.id) This should give subscribers who are not in any lists. |
I thought it was just missing the semicolon at the end, but when I added it there's an error:
It looks like the proper command https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-exists/ is:
You can copy-paste all those lines at once and hit enter. EDIT: Oh, knahd's command works from listmonk's UI -- |
We have had some spam users created as contacts to the listmonk, but because they are opt-in newsletters this has had no effect so far except that they are on the DB but not in any list
Would be good to know how to query or select all contacts that are not subscribed to no list so they could be deleted or filtered for whatever purpouse.
There might be a way usin sql queries that I don´t know
thanks in advance
The text was updated successfully, but these errors were encountered: