I need to create an entity, that has a set of fields of different data types, each field has a title and also one of the following:

  • String value
  • Integer value
  • Decimal value
  • Set of options, available to select for this field and selected value

Obviously, I have no idea how to implement this other than create a column for each possible value type.

I'm using MongoDB if it's important.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.