On Jul 10, 2:29 am, Jagan <[email protected]> wrote:
> Hi
>
> Is GQL meant only for SELECT queries?
>
> Is there something else for INSERT or UPDATE queries?
>
> Is it in the road map or should we do it only via Python or Java code?

GQL only supports a limited subset of SELECT, and seems unlikely to do
anything more.  In my opinion, including it at all in App Engine's
noSQL environment was an odd decision, since while it does make it
slightly easier for people coming from an SQL background to create
queries, it also makes it harder for them to let go of their SQL
preconceptions about how a database should work, which makes grokking
the nonrelational datastore more difficult.  Personally, I advocate
doing all of those SELECT queries using the python db.Query or the
Java equivalent too.  At a minimum, this will at least prevent bad
programmers from somehow introducing "GQL injection exploit" to the
vocabulary :)

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