Going to reply to myself...

Looks like I can do this with the low level java api pretty easily.

For instance:

message = structNew();
message['sender'] = 5; // Sender's ID
message['message'] = "This is a 140 character or less message";
messageID = createUUID();

recipentList = structNew();
recipentList['recipients'] = [46,24,67,30,22,11,54];
recipentID = createUUID;

// Persist the entities
messageKey = googleWrite(message,"message",messageID);
recipentListKey =
googleWrite(recipentList,"messageRecipientList",recipentID);

//Get a KeyBuilder for the message I just persisted
messageBuilder =
createObject("java","com.google.appengine.api.datastore.KeyFactory.Builder").init(messageKey);
childKey =
messageBuilder.addChild("messageRecipientList",recipentID).getKey();
// And any other "indexed" properties that I want to query on but
don't really care about returning...

I'll have to try this tonight when I get home.

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to