在我的 sqlite 数据库表中,有一个树形结构的 JSON 数据字段,它大概长这样,现在我想通过 title 关键字做查询筛选,请问有什么好的方法吗?
[
{
id: '100',
title: 'Frontend',
children: [
{
id: '110',
title: 'React',
children: [
{
id: '111',
title: 'React Hooks',
},
{
id: '112',
title: 'React Router',
},
],
},
{
id: '120',
title: 'Vue',
children: [
{
id: '121',
title: 'Vue Router',
},
{
id: '122',
title: 'Vuex',
},
],
},
],
},
{
id: '200',
title: 'Backend',
children: [
{
id: '210',
title: 'Java',
},
{
id: '220',
title: 'Rust',
},
],
},
]