terzo
This commit is contained in:
@@ -3903,6 +3903,7 @@ if (tools.INITDB_FIRSTIME) {
|
|||||||
// UserSchema.index({ name: 'name' });
|
// UserSchema.index({ name: 'name' });
|
||||||
// UserSchema.index({ name: 1 });
|
// UserSchema.index({ name: 1 });
|
||||||
// UserSchema.index({ surname: 1 });
|
// UserSchema.index({ surname: 1 });
|
||||||
|
// ter
|
||||||
}
|
}
|
||||||
|
|
||||||
UserSchema.statics.getUsernameByIndex = async function (idapp, index) {
|
UserSchema.statics.getUsernameByIndex = async function (idapp, index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user