func github.com/go-pg/pg/v10.SafeQuery
9 uses
github.com/go-pg/pg/v10 (current package)
pg.go#L33: func SafeQuery(query string, params ...interface{}) *orm.SafeQueryAppender {
github.com/go-pg/migrations/v8
collection.go#L612: Where("schema_name = '?'", pg.SafeQuery(schema)).
collection.go#L620: Where("schemaname = '?'", pg.SafeQuery(schema)).
collection.go#L621: Where("tablename = '?'", pg.SafeQuery(table)).
collection.go#L629: `, pg.SafeQuery(c.tableName))
collection.go#L642: `, pg.SafeQuery(c.tableName), version)
collection.go#L653: _, err := db.Exec(`CREATE SCHEMA IF NOT EXISTS ?`, pg.SafeQuery(schema))
collection.go#L665: `, pg.SafeQuery(c.tableName))
collection.go#L693: _, err = tx.Exec("LOCK TABLE ? IN EXCLUSIVE MODE", pg.SafeQuery(c.tableName))