golang.org/x/pkgsite/internal/database.DB.RunQuery (method)

35 uses

	golang.org/x/pkgsite/internal/database (current package)
		database.go#L145: func (db *DB) RunQuery(ctx context.Context, query string, f func(*sql.Rows) error, params ...interface{}) error {
		reflect.go#L151: 	err := db.RunQuery(ctx, query, func(rows *sql.Rows) error {

	golang.org/x/pkgsite/internal/postgres
		clean.go#L60: 	err = db.db.RunQuery(ctx, query, func(rows *sql.Rows) error {
		clean.go#L97: 	err = db.db.RunQuery(ctx, `
		details.go#L62: 	if err := db.db.RunQuery(ctx, query, collect, seriesPath); err != nil {
		insert_module.go#L563: 	if err := db.RunQuery(ctx, q, collect, pq.Array(unitIDs)); err != nil {
		package_symbol.go#L53: 	if err := ddb.RunQuery(ctx, q, collect, args...); err != nil {
		package_symbol.go#L185: 	if err := ddb.RunQuery(ctx, q, collect, args...); err != nil {
		path.go#L39: 	err = db.db.RunQuery(ctx, q, func(rows *sql.Rows) error {
		path.go#L129: 	if err := db.RunQuery(ctx, `SELECT id, path FROM paths WHERE path = ANY($1)`,
		postgres.go#L120: 	err = db.RunQuery(ctx, query, func(rows *sql.Rows) error {
		requeue.go#L158: 	if err := db.db.RunQuery(ctx, query, collect, limit); err != nil {
		search.go#L284: 	err := db.db.RunQuery(ctx, query, collect, q, limit, offset)
		search.go#L320: 	err := db.db.RunQuery(ctx, query, collect, searchQuery, limit, offset, nonRedistributablePenalty, noGoModPenalty)
		search.go#L405: 	err := db.db.RunQuery(ctx, query, collect, q, limit, offset)
		search.go#L492: 	return db.db.RunQuery(ctx, query, collect)
		search.go#L732: 	if err := db.db.RunQuery(ctx, query, collect, before, limit); err != nil {
		search.go#L774: 	err = db.db.RunQuery(ctx, `SELECT package_path FROM search_documents`, func(rows *sql.Rows) error {
		search.go#L867: 	err = db.RunQuery(ctx, query, func(rows *sql.Rows) error {
		search.go#L1030: 		err := tx.RunQuery(ctx, query, func(rows *sql.Rows) error {
		symbol.go#L121: 	if err := db.RunQuery(ctx, `
		symbol.go#L226: 	if err := db.RunQuery(ctx, `
		symbol.go#L334: 	if err := db.RunQuery(ctx, query, collect, pq.Array(names)); err != nil {
		symbol.go#L426: 	if err := db.RunQuery(ctx, query, collect, unitID); err != nil {
		symbol_history.go#L68: 	if err := ddb.RunQuery(ctx, query, collect, args...); err != nil {
		symbol_history.go#L131: 	if err := ddb.RunQuery(ctx, query, collect, args...); err != nil {
		unit.go#L405: 	if err := db.RunQuery(ctx, query, collect, args...); err != nil {
		unit.go#L432: 	err = db.db.RunQuery(ctx, `
		unit.go#L621: 	if err := db.db.RunQuery(ctx, query, collect, modulePath, resolvedVersion); err != nil {
		version.go#L95: 	if err := db.db.RunQuery(ctx, query, collect, path); err != nil {
		version.go#L226: 	err = db.db.RunQuery(ctx, q, func(rows *sql.Rows) error {
		version.go#L349: 	err = db.db.RunQuery(ctx, `
		version_map.go#L125: 	if err := db.db.RunQuery(ctx, q, collect, args...); err != nil {
		versionstate.go#L376: 	if err := db.db.RunQuery(ctx, query, collect, modulePath, resolvedVersion); err != nil {
		versionstate.go#L440: 	err = db.db.RunQuery(ctx, query, func(rows *sql.Rows) error {