in realm db (javascript) have schema looks this:
const itemschema = { name: 'item', primarykey: 'id', properties: { title: {type: 'string'}, tags: {type: 'list', objecttype: 'tag'} ...
now, how can filter items tag? (i.e. tags title
matching given string) ? know single tag
child item filter on tag.title
, how done list?
this not supported yet @ moment, have in memory regular .filter()
call or loop.
Comments
Post a Comment