sql canonical data types: INT, DOUBLE, VARCHAR, DATE, DATETIME, BOOLEAN
SqlTypes
01 Syntax
JSql.Storage.SqlTypes
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| NormalizeType | 1 | normalize a mysql type name into one of the canonical type names. |
| CoerceValue | 1 | coerce a raw runtime value into the target canonical sql type. |
| CompareValues | 1 | compare two non-null scalar values. |
| IsNumericType | 1 | |
| FormatDate | 1 | |
| IsNumericValue | 1 |
03 Members
NormalizeType(
String)normalize a mysql type name into one of the canonical type names.
CoerceValue(
Object, String)coerce a raw runtime value into the target canonical sql type.
CompareValues(
Object, Object)compare two non-null scalar values. numeric values are promoted and compared numerically, everything else falls back to ordinal string comparison (which also sorts iso-format date strings correctly).
IsNumericType(
String)FormatDate(
DateTime, String)IsNumericValue(
Object)