我使用 SQLdelight 创建 sql 代码,比如
SELECT * FROM CoachService WHERE shop_id in (?) and brand_id = ?
我查询喜欢:
briteDatabase.createQuery(CoachService.TABLE_NAME, CoachService.GETBYBRANDIDANDSHOPS, "'1','5','11'","2");
但结果是空的。然后,我像这样改变sqlcode
SELECT * FROM CoachService WHERE shop_id in ('1','5','11') and brand_id = ?
它返回我 3 个结果。为什么?