a long-distance race 长跑比赛
You'll get lots of motivation, as well as enjoyment, from participating in a race, and 5k (3.1 miles) is the perfect distance for first-timers.
你会有很多的动力,还有享受,来在参与比赛,5k(3.1英里)对新人是一个完美的距离。
But now let's see what happens when I add another race with a different distance attribute, shown in Listing 5.
现在让我们看一下,当我添加另一个带不同距离属性的比赛时会发生什么,如清单5所示?
I have two databases and I'm sharding by distance, so when I create a marathon (which is greater than 10 miles), say, that Race instance should be found in shard 1.
我有两个数据库并通过距离进行切分,所以当我创建一场马拉松时(10英里以上的比赛),该Race示例应在切分1中找到。
应用推荐