mirror of
https://github.com/knadh/listmonk.git
synced 2025-02-24 06:15:32 +08:00
High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
campaigncampaign-managementemail-campaignsemail-marketingemail-subscriptionfcm-messaginglistmonkmailing-listnewsletternewsletter-managementself-hostedsms-gatewaysmtpstarred-knadh-repostarred-repo
The get-campaigns query was doing two direct joins with the campaign_views and link_clicks tables (that have very large number of relationships) to get the view and click counts. Now the campaigns are selected first in a CTE and their views and counts are aggregated in two more CTEs, and the whole thing is then aggregated to produce the final results. |
||
---|---|---|
frontend | ||
manager | ||
messenger | ||
models | ||
public | ||
subimporter | ||
templates | ||
.gitignore | ||
admin.go | ||
campaigns.go | ||
config.toml.sample | ||
handlers.go | ||
import.go | ||
install.go | ||
lists.go | ||
main.go | ||
Makefile | ||
manager_db.go | ||
media.go | ||
notifications.go | ||
package.json | ||
public.go | ||
queries.go | ||
queries.sql | ||
schema.sql | ||
sqlboiler.toml | ||
stats.sql | ||
subscribers.go | ||
templates.go | ||
users.go | ||
utils.go |