return '"' . str_replace('"', '""', $name) . '"';
}
+ /**
+ * @return string
+ */
+ public function quoteTrue()
+ {
+ return '1';
+ }
+
+ /**
+ * @return string
+ */
+ public function quoteFalse()
+ {
+ return '0';
+ }
+
/*##########################################################################
# Schema Statements
public function testQuoteTrue()
{
- $this->assertEquals("'t'", $this->_conn->quote(true));
+ $this->assertEquals('1', $this->_conn->quote(true));
}
public function testQuoteFalse()
{
- $this->assertEquals("'f'", $this->_conn->quote(false));
+ $this->assertEquals('0', $this->_conn->quote(false));
}
public function testQuoteString()