Skip to main content
Created for OutSystems 10. Not working on your version? Tell us about it!
OutSystems

How to create a unique field on a database

How can I ensure that no records are created with the same value in a certain field.

For example: I want to ensure that the end-users of my attractions review Application cannot submit more than one review about a specific place in the same day.

Answer

To ensure the uniqueness of an Attribute or combination of Attributes create a unique database Index.

  • Was this article helpful?