def test_nvl(self): q = Q.from_('abc').select(fn.NVL(F('foo'), 0)) self.assertEqual('SELECT NVL(\"foo\",0) FROM \"abc\"', str(q))
def test_nvl(self): q = Q.from_("abc").select(fn.NVL(F("foo"), 0)) self.assertEqual('SELECT NVL("foo",0) FROM "abc"', str(q))