TRVReportGenerator.EscapeDataQuery

<< Click to display table of contents >>

TRVReportGenerator.EscapeDataQuery

Replaces all occurrences of '{' in S to '{{'.

class function EscapeDataQuery(const S: TRVUnicodeString): TRVUnicodeString;

This function takes the S parameter, replaces all '{' characters to '{{' in it, and returns the processed string.

After this processing, '{' characters are not treated as starting field code characters.

Use this function to prepare data queries that do not contain field codes. It is especial useful for JSON data queries, for example for MongoDB data provider.

See also

data queries