This commit is contained in:
Surya Paolo
2022-12-20 12:36:41 +01:00
parent cfa8569fd9
commit 786843f115

View File

@@ -3903,6 +3903,7 @@ if (tools.INITDB_FIRSTIME) {
// UserSchema.index({ name: 'name' });
// UserSchema.index({ name: 1 });
// UserSchema.index({ surname: 1 });
// ter
}
UserSchema.statics.getUsernameByIndex = async function (idapp, index) {