We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
不好意思啊,没想到会有这么多人会用,最近抽时间看一下。
Sorry, something went wrong.
多谢,如果step唯一,别人就知道你下一个id是多少,有些时候,我们需要一些随机性。 所以step是否能够配置成一个Array, 每次生成下一个id的使用的步长在这个数组中随机选择。 比如如下配置 UserSchema.plugin(autoinc.plugin, { model: 'User', field: 'seqnumber', start: 100, step: [1,4,5,7, 10] });
不错的工程,这个需求也很好,希望能够得到加强。
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: