Update command

Used in a Server.Load script to update random documents in a database, based on the value of 'a'.

Syntax

Update (a, b, c)

Where:

  • a -- Number of documents to be updated. If 'a' is not specified, one document is updated.
  • b -- New size of the summary item "Subject" (optional; default is ""). If 'b' is not specified, the length of the summary data is a uniform random number between 1 and 100 bytes.
  • c -- Length of non-summary item "Body" (optional; defaults to ""). If 'c' is not specified, the length of the non-summary data is a uniform random number between 100 and 300 bytes.