MCPcopy Create free account
hub / github.com/bex-co/bex / normalizeIdent

Function normalizeIdent

operator/internal/controller/database_controller.go:73–75  ·  view source on GitHub ↗

normalizeIdent turns an App/DB name into a valid unquoted PostgreSQL identifier: lowercase, hyphens -> underscores. So a client never has to double-quote the db/role name (docs/postgresql-management.md §4).

(name string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ReconcileMethod · 0.85
TestNormalizeIdentFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestNormalizeIdentFunction · 0.68