def test__last(self): q = Q.from_('abc').select(fn.Last(F('foo'))) self.assertEqual('SELECT LAST(\"foo\") FROM \"abc\"', str(q))
def test__last(self): q = Q.from_("abc").select(fn.Last(F("foo"))) self.assertEqual('SELECT LAST("foo") FROM "abc"', str(q))