Ticket #180 (new enhancement)

Opened 5 months ago

Last modified 1 month ago

Add Non-Negative Numeric Validation (Patch Included)

Reported by: Jamie Jackson Owned by: dhughes
Type: enhancement Priority: normal
Milestone: 1.0 Release 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 5 months ago.
Apply to trunk rev 431

Change History

Changed 5 months ago by Jamie Jackson

Apply to trunk rev 431

Changed 1 month ago by mark.drew@…

  • milestone set to 1.0 Release
Note: See TracTickets for help on using tickets.