Tagged: 不存在则插入

查看 pa:ar:user 的值,发现行 29、30 的值皆为 37918。由此确定,是此键的值导致了 id 等于 37918 的资源数等于 2 个。 0

Analysis of Redis ActiveRecord in Yii 2.0 that the primary key ID is duplicated and resolved

浏览量: 0 1. The request interface, the total number of resources in the response parameters is 30. Resources containing ids equal to 37918 are duplicates. A total of 2. as shown in Figure 1...