Argument types
Arguments that are passed to a UDX are translated into nzLua datatypes.
The following table lists the standard nzLua datatypes that will be in the ARGTYPE array (see ARGTYPE).
| nzLua Datatype | Database Datatype |
|---|---|
| TYPE_BIGNUM | BIGINT with more than 15 digits. |
| TYPE_DATE | Date, Timestamp (nzLua translates both DATE and TIMESTAMP into unixtime) |
| TYPE_NUMBER | SMALLINT, INTEGER, and BIGINT with 15 digits or fewer. For BIGINT values, large numbers that cannot fit into a DOUBLE value will be passed as TYPE_BIGNUM |
| TYPE_STRING | CHAR and VARCHAR |
| TYPE_TIMESTAMP | Date, Timestamp (nzLua translates both DATE and TIMESTAMP into Unixtime) |