Verify ENUM integrity
Posted: Mon Aug 29, 2016 11:16 pm
Hi,
C++ is unable by itself to provide a safe way to manage externally provided values for enums since no retrospection is available...
i was guessing if QxOrm introspection engine can give us a way to check if the enum value (coming from a form for example) is in the real list of the enum or if this is already done implicitly during save/insert operations (and so how to do that manually).
Thanks
C++ is unable by itself to provide a safe way to manage externally provided values for enums since no retrospection is available...
i was guessing if QxOrm introspection engine can give us a way to check if the enum value (coming from a form for example) is in the real list of the enum or if this is already done implicitly during save/insert operations (and so how to do that manually).
Thanks