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

29 uses

	golang.org/x/pkgsite/internal/database (current package)
		database.go#L120: func (db *DB) QueryRow(ctx context.Context, query string, args ...interface{}) *sql.Row {

	golang.org/x/pkgsite/internal/postgres
		details.go#L118: 	err = db.db.QueryRow(ctx, query, pkgPath).Scan(&n)
		details.go#L148: 	row := db.db.QueryRow(ctx, query, modulePath, resolvedVersion)
		insert_module.go#L194: 	switch err := db.QueryRow(ctx, `
		insert_module.go#L225: 	err = db.QueryRow(ctx,
		insert_module.go#L647: 		switch err := tx.QueryRow(ctx, `
		insert_module.go#L863: 		err = tx.QueryRow(ctx, `SELECT 1 FROM modules WHERE module_path=$1 LIMIT 1`, modulePath).Scan(&x)
		path.go#L90: 	err = tx.QueryRow(ctx,
		path.go#L94: 		err = tx.QueryRow(ctx,
		path.go#L156: 	err = ddb.QueryRow(ctx,
		postgres.go#L89: 	err := db.db.QueryRow(ctx, `
		test_helper.go#L326: 	row := db.db.QueryRow(ctx, `
		unit.go#L97: 	err = db.db.QueryRow(ctx, q, args...).Scan(
		unit.go#L232: 	err = db.db.QueryRow(ctx, q, args...).Scan(&modulePath, &latestVersion)
		unit.go#L304: 	err = db.db.QueryRow(ctx, query, fullPath, modulePath, resolvedVersion).Scan(&unitID)
		unit.go#L510: 	err = db.db.QueryRow(ctx, query, um.Path, unitID, goos, goarch).Scan(
		unit.go#L635: 	err = db.QueryRow(ctx, `
		version.go#L259: 	row := db.db.QueryRow(ctx, `
		version.go#L294: 		err := db.db.QueryRow(ctx, `
		version.go#L312: 	err = db.db.QueryRow(ctx, `
		version.go#L421: 	err = db.QueryRow(ctx, `
		version.go#L516: 		err := tx.QueryRow(ctx, `
		version_map.go#L26: 		if err := db.db.QueryRow(ctx, `SELECT id FROM modules WHERE module_path=$1 AND version=$2`,
		version_map.go#L84: 	err = db.db.QueryRow(ctx, q, args...).Scan(
		versionstate.go#L219: 	row := db.db.QueryRow(ctx, query)
		versionstate.go#L336: 	row := db.db.QueryRow(ctx, query, modulePath, resolvedVersion)
		versionstate.go#L402: 	err = db.db.QueryRow(ctx, query, pkgPath, modulePath, resolvedVersion).Scan(
		versionstate.go#L470: 	err = db.db.QueryRow(ctx, `
		versionstate.go#L490: 	err = db.db.QueryRow(ctx, `