Sign in Join
FPDoc Onlineexperiment

TSQLScript.UseDollarString property

Member of TSQLScriptpublishedIn unit SQLDB

Enable support for dollarstrings.

Declaration

pascal
property UseDollarString:;

Description

UseDollarString enables support for so-called "DollarString" delimiters for string literals. This means that the normal string literal delimiter (') is enhanced with any string appearing in the DollarStrings property.

Setting UseDollarString to true incurs a speed penalty, so it is better not to enable it unless it is really necessary.

This is needed for instance for PostGreSQL, where stored procedure code blocks are enclosed in "$$" signs, and are treated as a string literal.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.