Hi,

Folowing below pages I can now store en retrieve data into the
Datastore with PHP.

        http://brian.brispace.net/2009/04/09/php-on-google-app-engine/
        http://www.fistagon.us/wp/?p=16

however I have problems with update and delete, for example, below
atempt to delete a object gives a 500
java.lang.UnsupportedOperationException

        $id = 14;

        import phptest.test;
        import phptest.PMF;

        $p = PMF::get();
        $pm = $p->getPersistenceManager();
        $q = $pm->newQuery("select from phptest.test where id == $id");
        $results = $q->execute();

        echo $results[0]->getId() . ” - ” . $results[0]->getFirstName() . ”;

        $pm->deletePersistent($results[0]);

        $pm->close();

are there somewhere update / delete examples?

Kind Regards, Herbert

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