I have a schema with 50 fields and I need to select all fields, but, one field I want to select based on some criteria, for that I wrote following code:
const