Have you tried the preview of the new bulkloader at 
http://bulkloadersample.appspot.com/
? It has an example of this.

However it will export just the key--you can then download both A and
B and join them later. Are you trying to export a nested data
structure into a hierarchical data format? If so, you need some way to
download both kinds. If you exporter (using either system)
dereferences the property using a model class, the remote_api
connection will download it. Note that this will have a significant
performance impact.

I'm curious what your expected use case is, as nested data is an
interesting and complex case.

--Matthew

On Apr 26, 3:30 am, "Nick Johnson (Google)" <[email protected]>
wrote:
> Hi Kartik,
>
> What do you mean by 'junk values'? The reference property should return
> either the key of the entity being referenced, or the entity itself.
>
> -Nick Johnson
>
> On Sat, Apr 24, 2010 at 9:10 AM, kartik rustagi 
> <[email protected]>wrote:
>
>
>
>
>
> >  Hello every one,
>
> > I have defined two entities in my application, say A and B. Now one
> > property of A is ReferenceProperty to B. Now I am trying to download
> > the values stored in the datastore A in to my local system (using
> > bulkloader.exporter). And as expected in the ReferenceProperty part of
> > A, I am getting junk values. How do I define that this property of A
> > has to use B's exporter?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. ::
> Registered in Dublin, Ireland, Registration Number: 368047
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" 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 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to