pub fn quote_literal(identifier: &str, wrap: char) -> Result<String>Expand description
Quotes one identifier without treating dots as qualifiers (a column named
meta.key, as ClickHouse nested columns are).
PHP: QuotesIdentifiers::quoteLiteral().
use utopia_query::quote_literal;
assert_eq!(quote_literal("meta.key", '`')?, "`meta.key`");use Utopia\Query\Schema\ClickHouse;
echo (new ClickHouse())->table('t')->string('meta.key')->create()->query, "\n";