Hi!

I'm trying to delete an object by using the key id.

I'm using an automatically generated key;

<code>
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;
</code>

What is the best way to delete an object with a specific id?

I'm using Java, and had it working a while ago by doing;
"WHERE __key__=Key('type', id)

But now it tells me that = is an invalid operator.

-- 
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