Ticket #180 (new enhancement)

Opened 3 months ago

Add Non-Negative Numeric Validation (Patch Included)

Reported by: Jamie Jackson Owned by: dhughes
Type: enhancement Priority: normal
Milestone: Component: Reactor - Validator
Version: Severity: minor
Keywords: Cc:

Description

Some DBs have datatype options to specify that a numeric should be non-negative. For instance, MySQL has the UNSIGNED flag.

This patch adds validation support for this feature for MySQL, other DBs' behavior is unchanged.

If other DBs support this kind of non-negative specification, and someone decides to implement this feature for that DB, they will just make a minor modification to that RDBMS's ObjectDAO.cfc.

Attachments

ReactorAddNonNegativeNumericValidation.patch (6.4 kB) - added by Jamie Jackson 3 months ago.
Apply to trunk rev 431

Change History

Changed 3 months ago by Jamie Jackson

Apply to trunk rev 431

Note: See TracTickets for help on using tickets.