public void Quote_WithJsonFieldAsString_QuotesString() { var dialect = new PostgresSqlDialect(); var quoted = dialect.Quote("product->'id'"); quoted.Should().Be("\"product\"->'id'"); }
public void Quote_WithString_QuotesString() { var dialect = new PostgresSqlDialect(); var quoted = dialect.Quote("product"); quoted.Should().Be("\"product\""); }