Interface PreviewOptions

Options for requesting a preview of columns when requesting table data. The two properties dh.convertArrayToString and dh.array are mutually exclusive.

Hierarchy

  • PreviewOptions

Properties

array?: number

Specifies the length of the array to serialize. If the array is longer than this length, one extra element will be included - the client is expected to truncate the array and append "..." to indicate that there are additional elements. Negative values indicate that the values should be counted from the end of the array rather than the beginning. Zero or null indicate that the entire array should be serialized. The default is null.

convertArrayToString?: boolean

If true, any array columns will be converted to strings for preview purposes. This is the legacy behavior.