kql_quote: Helper function for quoting kql elements.

View source: R/kql-escape.R

kql_quoteR Documentation

Helper function for quoting kql elements.

Description

If the quote character is present in the string, it will be doubled. NAs will be replaced with NULL.

Usage

kql_quote(x, quote)

Arguments

x

Character vector to escape.

quote

Single quoting character.

Examples

kql_quote("abc", "'")
kql_quote("I've had a good day", "'")
kql_quote(c("abc", NA), "'")

cloudyr/AzureKusto documentation built on Oct. 15, 2023, 5:42 p.m.