MCPcopy Create free account
hub / github.com/PostHog/duckgres / ListOrgs

Method ListOrgs

controlplane/admin/api.go:162–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160
161 // Overview
162 r.GET("/status", h.getClusterStatus)
163}
164
165type apiStore interface {
166 ListOrgs() ([]configstore.Org, error)
167 // CreateOrg creates the org row AND its required first team row (plain —
168 // no billing semantics) in one transaction; the handler validates
169 // teamID/schemaName before calling.
170 CreateOrg(org *configstore.Org, teamID int64, schemaName string) error
171 GetOrg(name string) (*configstore.Org, error)

Callers

nothing calls this directly

Calls 1

dbMethod · 0.95

Tested by

no test coverage detected