mongoid-sequence2 0.4.0
Mongoid::Sequence2 gives you the ability to specify fields to behave like a sequence number (exactly like the "id" column in conventional SQL flavors).
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
activesupport
<= 4.2, >= 3.0.0
mongoid
<= 3.1, >= 3.0.0