Validation: in_db[table.field] |
Is the opposite.
While `is_unique` returns an error message if the value exist in the DB and continues if the value does not exist. `in_db` might return the error if the values does not exists and should continue if the value exist. I think is easier to understand if instead of `in_db` we name it `not_is_unique`. |
Messages In This Thread |
Validation: in_db[table.field] - by thingNumber1 - 10-27-2019, 12:26 PM
RE: Validation: in_db[table.field] - by MGatner - 11-01-2019, 05:55 AM
RE: Validation: in_db[table.field] - by thingNumber1 - 11-06-2019, 07:48 PM
Solución - by thingNumber1 - 11-08-2019, 03:07 PM
RE: Validation: in_db[table.field] - by Ale - 01-20-2020, 03:33 PM
|