ValidUploadQ
ValidUploadQ[upload]⟹bool
checks whether upload contains valid object creation/update rules.
Details
- ValidUploadQ is called by Upload to ensure that the specified rules conform to the type definitions.
- When updating any multiple field, Append|Replace must be explicitly specified in the update rule (Append[Numbers] -> {1,2,3}).
- Single fields can be specified as symbols or symbols (FieldName) wrapped in Append/Replace (Replace[FieldName]). Both forms will always have the same behaviour of replacing the existing values in the objects.
- Cannot append a single Null value to a multiple field: Append[MultipleField] -> Null is invalid.
- All fields specified in the upload must match their field patterns the same as in ValidPacketFormatQ.
Input
Output
General Options