Hi John, thanks for your clarification.

Current Slim3 does not support embedding instances like Twig/Objectify.

Yasuo Higa
>
> Serializing is a bit different to embedding instances because the Blob is
> opaque and not able to be queried.  If you use @Embed in Twig or Objectify
> you can query for all Container instances by filtering on an embedded
> property.
>
> e.g. "Find all Bands with Albums that have sold over a million copies"
>
> class Band
> {
>       �...@embed List<Album> albums
> }
>
> class Album
> {
>        String name;
>        int sold.
> }
>
> datastore.find()
>        .type(Band.class)
>        .addFilter("albums.sold", GREATER_THAN, 1000000)
>        .returnResultsNow();

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to