public void DisableForceQuoteQuotesReservedKeyword() { _quoter = new PostgresQuoter(new PostgresOptions() { ForceQuote = false }); _quoter.Quote("between").ShouldBe(@"""between"""); _quoter.Quote("BETWEEN").ShouldBe(@"""BETWEEN"""); }
public void DisableForceQuoteRemovesQuotes() { _quoter = new PostgresQuoter(new PostgresOptions() { ForceQuote = false }); _quoter.Quote("TableName").ShouldBe("TableName"); }
public void CanEscapeAString() { _quoter.Quote("Test\"String").ShouldBe("\"Test\"\"String\""); }