Hi,
google.appengine.api.datastore should allow you to delete by key by calling
datastore.Delete(key)
-Marzia
On Wed, Sep 24, 2008 at 2:56 AM, Gee <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a Key... xxxxxxxxxxxxxxx
>
> I want to do
> db.delete(db.Key('xxxxxxxxxxxxxxxx'))
>
> but it doesnt work...
>
> I know I can do
> db.delete(db.get('xxxxxxxxxxxxxxxxx'))
>
> but I cannot do this because....
>
> that record has a corrupt data field... and any time I try to "get"
> it, it throws an exception!! The exact error is that I have latitude
> value that is out of bounds. So now I cannot get this data and thus I
> cant even delete it, which is what I want to do now..
>
> ANY IDEAS?
>
> THanks!!!!!!!!!!
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---