It is possible to mark a particular column as unique=true. What is the most correct way to handle multi-column unique constraints in web2py?
For example, say I have an exchange rate table. It could have columns from-currency, to-currency and the exchange rate. It would not make sense to have two rows with the same from and to currencies. What would be the most elegant or correct way to make the from/to combination unique?