0

i have model class product which has all the fields of product json and i have another table called tag which consist string type variable called tag. Id of tag is passed as an array to the product json field called tag as mentioned above. I have a helper class called producttag to have the reference of product and tag. to maintain many to many relationship in sugerorm database. i was able to add the data to the database successfully. can some one help me retrieve product for the matching tag. how do i implement that?

above is the Json i've created. In the database i store values for the product in a product table. theres another table which consist a column called tag. how do i find matching product for given tag.

DeCrazyyy
  • 1
  • 1

0 Answers0