MCPcopy Create free account
hub / github.com/go-pg/pg / SafeQuery

Function SafeQuery

pg.go:33–35  ·  view source on GitHub ↗

SafeQuery replaces any placeholders found in the query.

(query string, params ...interface{})

Source from the content-addressed store, hash-verified

31
32// SafeQuery replaces any placeholders found in the query.
33func SafeQuery(query string, params ...interface{}) *orm.SafeQueryAppender {
34 return orm.SafeQuery(query, params...)
35}
36
37// In accepts a slice and returns a wrapper that can be used with PostgreSQL
38// IN operator:

Callers

nothing calls this directly

Calls 1

SafeQueryFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…