@test.requireCapability(support_index_hint=True)
async def test_force_index(self):
    sql = IntFields.filter(pk=1).only('id').force_index('index_name').sql()
    self.assertEqual(sql, 'SELECT `id` `id` FROM `intfields` FORCE INDEX (`index_name`) WHERE `id`=1')
    sql_again = IntFields.filter(pk=1).only('id').force_index('index_name').sql()
    self.assertEqual(sql_again, 'SELECT `id` `id` FROM `intfields` FORCE INDEX (`index_name`) WHERE `id`=1')
@test.requireCapability(support_index_hint=True)
async def test_force_index(self):
    sql = IntFields.filter(pk=1).only('id').force_index('index_name').sql()
    self.assertEqual(sql, 'SELECT `id` `id` FROM `intfields` FORCE INDEX (`index_name`) WHERE `id`=1')
    sql_again = IntFields.filter(pk=1).only('id').force_index('index_name').sql()
    self.assertEqual(sql_again, 'SELECT `id` `id` FROM `intfields` FORCE INDEX (`index_name`) WHERE `id`=1')