func github.com/lib/pq.QuoteIdentifier
13 uses
github.com/lib/pq (current package)
conn.go#L1502: func QuoteIdentifier(name string) string {
copy.go#L22: stmt := "COPY " + QuoteIdentifier(table) + " ("
copy.go#L27: stmt += QuoteIdentifier(col)
copy.go#L36: stmt := "COPY " + QuoteIdentifier(schema) + "." + QuoteIdentifier(table) + " ("
copy.go#L41: stmt += QuoteIdentifier(col)
notify.go#L219: return l.ExecSimpleQuery("LISTEN " + QuoteIdentifier(channel))
notify.go#L224: return l.ExecSimpleQuery("UNLISTEN " + QuoteIdentifier(channel))
github.com/golang-migrate/migrate/v4/database/postgres
postgres.go#L256: query := `TRUNCATE ` + pq.QuoteIdentifier(p.config.MigrationsTable)
postgres.go#L265: query = `INSERT INTO ` + pq.QuoteIdentifier(p.config.MigrationsTable) + ` (version, dirty) VALUES ($1, $2)`
postgres.go#L282: query := `SELECT version, dirty FROM ` + pq.QuoteIdentifier(p.config.MigrationsTable) + ` LIMIT 1`
postgres.go#L329: query = `DROP TABLE IF EXISTS ` + pq.QuoteIdentifier(t) + ` CASCADE`
postgres.go#L357: query := `CREATE TABLE IF NOT EXISTS ` + pq.QuoteIdentifier(p.config.MigrationsTable) + ` (version bigint not null primary key, dirty boolean not null)`
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |