escape: Escape/quote a string.

View source: R/kql-escape.R

escapeR Documentation

Escape/quote a string.


Escape/quote a string.


escape(x, parens = NA, collapse = " ")

kql_vector(x, parens = NA, collapse = " ")



An object to escape. Existing kql vectors will be left as is, character vectors are escaped with single quotes, numeric vectors have trailing .0 added if they're whole numbers, identifiers are escaped with double quotes.

parens, collapse

Controls behaviour when multiple values are supplied. parens should be a logical flag, or if NA, will wrap in parens if length > 1.

Default behaviour: lists are always wrapped in parens and separated by commas, identifiers are separated by commas and never wrapped, atomic vectors are separated by spaces and wrapped in parens if needed.

AzureKusto documentation built on March 31, 2023, 5:24 p.m.