Type: TParseOption |
Unit: EgStrParser
Rejects the input when any token became NULL. After all
the tokens are parsed, an entry NULL in SQLValues
sets ErrorCode to
ERR_NULL_NOT_ALLOWED
and ResultType
to otInvalid.
Use it when empty list positions, empty range bounds or empty input
must be rejected instead of being turned into NULL.
Input: 1,,3, itInteger, [opNotNull]
ResultType: otInvalid
ErrorCode: ERR_NULL_NOT_ALLOWED (the middle token is NULL)
Input: 1,,3, itInteger, []
ResultType: otList
SQLExpression: IN (1, NULL, 3) (NULL accepted)
opNotNull is not checked when ERR_EMPTY_NOT_ALLOWED
was already set by opRequired.
For itString without
opEmptyStringNull,
empty tokens give '', not NULL, so
opNotNull does not reject them. Combine
opEmptyStringNull with opNotNull to reject
empty strings too.