Yes, this is possible. If you have QuerySqlField annotation on Employee.address and the same annotation on Address.city, then the field CITY must be available for SQL queries.
Sergi 2016-12-07 11:04 GMT+03:00 Gaurav Bajaj <gauravhba...@gmail.com>: > Hi, > > Is is possible to query (Scan, Sql etc) cache on the fields inside object > in the Cache value? > > For example : > Employee has a Address > Address has fields like Street, Zip code, City > > Cache Key : Emp Id > Cache Value : Employee > > Is it possible to Index or Query on field "City" in the above scenario? > I tried to look through documentation and examples but didn't find any > such scenario or may be I overlooked. > > Thanks for your answers/suggestions. > > Best Regards, > Gaurav >