Conversion trimStart1 2 3 4 5 6 7 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversion: <IPropertyConversion>{ trimStart: true } } trimEnd1 2 3 4 5 6 7 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversion: <IPropertyConversion>{ trimEnd: true } } trim1 2 3 4 5 6 7 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversion: <IPropertyConversion>{ trim: true } } toLowerCase1 2 3 4 5 6 7 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversion: <IPropertyConversion>{ toLowerCase: true } } toUpperCase1 2 3 4 5 6 7 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversion: <IPropertyConversion>{ toUpperCase: true } } conversionFun 1 2 3 4 5 6 7 8 9 10 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversions: <IPropertyConversion>{ conversionFun: (firstName, fullObj) => { if (firstName) return (firstName + "_IND"); else return (firstName); }, } } encryption1 2 3 4 5 6 7 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversion: <IPropertyConversion>{ encryption: true } } hashing1 2 3 4 5 6 7 _id: EType.objectId, firstName: <ISchemaProperty>{ __type: EType.string, conversion: <IPropertyConversion>{ hashing: true } }