github.com/go-redis/redis/v8.Options.DB (field)

11 uses

	github.com/go-redis/redis/v8 (current package)
		options.go#L57: 	DB int
		options.go#L229: 		o.DB = 0
		options.go#L231: 		if o.DB, err = strconv.Atoi(f[0]); err != nil {
		redis.go#L150: 	return fmt.Sprintf("Redis<%s db:%d>", c.getAddr(), c.opt.DB)
		redis.go#L218: 		c.opt.DB == 0 &&
		redis.go#L236: 		if c.opt.DB > 0 {
		redis.go#L237: 			pipe.Select(ctx, c.opt.DB)
		ring.go#L134: 		DB:       opt.DB,
		sentinel.go#L73: 		DB:       opt.DB,
		sentinel.go#L103: 		DB:       0,
		universal.go#L145: 		DB:       o.DB,