goncalossilva / mongoid-sequence

Specify fields to behave like a sequence number (exactly like the "id" column in conventional SQL flavors) while using Mongoid.
MIT License
18 stars 36 forks source link

How to handle existing sequence? #7

Open theo-bittencourt opened 11 years ago

theo-bittencourt commented 11 years ago

Is there a way to treat an existing sequence skipping the old value?

Thanks!