THANK YOU!!!!!!

thats exactly what I was looking for... I did recall reading about
some undocumented apis, but couldn't find them.

anyway, thanks so much!

Arun,  I couldn't use the dataviewer, because any query that contained
that corrupt record would also cause an exception and dataviewer would
not show the record.  strange huh!

It actually took me a while to even figure out what the Key of that
record was at all.  I had to use Key.from_path() and guess at the
possible IDs (based on what was before, after, and around it).
Probably pretty stupid, but I couldnt figure out a better way at the
time.  the google.appengine.api.datastore apis probably could have
come in handy there.  Basically I needed anything that wouldn't do a
strict type check on the contents in the datastore.  Otherwise, any
query that containted the row I wanted to delete would just throw an
exception...


On Sep 24, 9:18 am, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote:
> 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 google-appengine@googlegroups.com
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