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

Method CreateOrg

controlplane/admin/api.go:170–173  ·  view source on GitHub ↗
(org *configstore.Org)

Source from the content-addressed store, hash-verified

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)
172 // UpdateOrg persists the merged org row.
173 UpdateOrg(name string, updates configstore.Org) (*configstore.Org, bool, error)
174 DeleteOrg(name string) (bool, error)
175
176 // Org teams. CreateOrgTeam is create-only (the admin surface never

Callers

nothing calls this directly

Calls 2

dbMethod · 0.95
CreateMethod · 0.45

Tested by

no test coverage detected