postgres

package
v0.0.0-...-7f6939c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

File: backend/internal/store/postgres/campaign_store.go

File: backend/internal/store/postgres/campaign_store_optimized.go

Package postgres contains PostgreSQL-based store implementations.

Package postgres provides PostgreSQL implementations of store interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArchitectureStorePostgres

func NewArchitectureStorePostgres(db *sqlx.DB) store.ArchitectureStore

NewArchitectureStorePostgres creates a new ArchitectureStore.

func NewAuditLogStorePostgres

func NewAuditLogStorePostgres(db *sqlx.DB) store.AuditLogStore

NewAuditLogStorePostgres creates a new AuditLogStore for PostgreSQL

func NewCampaignJobStorePostgres

func NewCampaignJobStorePostgres(db *sqlx.DB) store.CampaignJobStore

NewCampaignJobStorePostgres creates a new CampaignJobStore for PostgreSQL.

func NewCampaignStorePostgres

func NewCampaignStorePostgres(db *sqlx.DB) store.CampaignStore

NewCampaignStorePostgres creates a new CampaignStore for PostgreSQL

func NewKeywordStorePostgres

func NewKeywordStorePostgres(db *sqlx.DB) store.KeywordStore

NewKeywordStorePostgres creates a new KeywordStore for PostgreSQL

func NewPersonaStorePostgres

func NewPersonaStorePostgres(db *sqlx.DB) store.PersonaStore

NewPersonaStorePostgres creates a new PersonaStore for PostgreSQL

func NewProxyPoolStorePostgres

func NewProxyPoolStorePostgres(db *sqlx.DB) store.ProxyPoolStore

NewProxyPoolStorePostgres creates a new ProxyPoolStore backed by PostgreSQL

func NewProxyStorePostgres

func NewProxyStorePostgres(db *sqlx.DB) store.ProxyStore

NewProxyStorePostgres creates a new ProxyStore for PostgreSQL

Types

type EntityCampaignCounts

type EntityCampaignCounts struct {
	KeywordSetCounts     map[uuid.UUID]int
	PersonaCounts        map[uuid.UUID]int
	ScoringProfileCounts map[uuid.UUID]int
}

EntityCampaignCounts holds campaign counts for various entity types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL