async def test_exists(self):
    ret = (await IntFields.filter(intnum=0).exists())
    self.assertFalse(ret)
    ret = (await IntFields.filter(intnum=10).exists())
    self.assertTrue(ret)
    ret = (await IntFields.filter(intnum__gt=10).exists())
    self.assertTrue(ret)
    ret = (await IntFields.filter(intnum__lt=10).exists())
    self.assertFalse(ret)
async def test_exists(self):
    ret = (await IntFields.filter(intnum=0).exists())
    self.assertFalse(ret)
    ret = (await IntFields.filter(intnum=10).exists())
    self.assertTrue(ret)
    ret = (await IntFields.filter(intnum__gt=10).exists())
    self.assertTrue(ret)
    ret = (await IntFields.filter(intnum__lt=10).exists())
    self.assertFalse(ret)