In my mongoose schema, I have defined the following properties:
var personnelSchema = new Schema({
fullName: String,
dob: String,
cNumber: String,
address: String,
wCard: String,
dLic: Number,
hrate: Number,
});
Is there a way to retrieve the value of the "hrate" property using only the "fullName" property? I do not have access to the ID, which would make it easier to retrieve the value.