I use this SQL query:
Of course, the query can be built dinamically and should be adapted to your needs. I'm not an SQL expert, so I welcome any opinion on this approach.select n.id from nodes n, metadata m where n.id=m.id and ((m.name='color' and m.value='red') or (m.name='name' and m.value='george')) group by n.id having count(n.id)=2;
Ciao, Valerio
In reply to Re: Querying Meta Data
by valdez
in thread Querying Meta Data
by eric256
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |