如何在 Android 上将 JSON_EXTRACT 与 ROOM 一起使用?

Xia*_*ing 7 sqlite android

当我在查询中使用 json_extract 时出现错误

android.database.sqlite.SQLiteException:没有这样的函数:json_extract(代码1)

room 支持 json_extract 功能吗?

这是我的查询:

select sum(json_extract((select distinct replace(tfo.products, '\','')), '$[0].qty_case')) as QtyCase from tfo where strftime('%m', dateCreated) = strftime('%m', 'now', '0 months') and armstrong2CustomersId = 'OPDB00140428AU' and armstrong2TfoId = '9466c9d5-7d58-4d92-96e0-010662aa0055'
Run Code Online (Sandbox Code Playgroud)