[Zope3-Users] zql

Andreas Jung lists at zopyx.com
Sun Apr 23 12:17:12 EDT 2006



--On 21. April 2006 11:03:48 -0400 Pete Taylor <baldtrol at gmail.com> wrote:


>
> i'm going to call a zodb query language zql for now, because i like it
> and think it's catchy ;)  ...i know there's a java query parser called
> "zql" also, but i'm not proposing a formal name, so i'm going to use
> it anyway.  i'd think of zql as just an OQL specific to the zodb.

A long time ago Stefan Richter has written something similar for Zope 2 
(can't remember the name)

>
> zql> select * from myobj;
> zql> grant all on mycontainer.* to 'user'@mysite.pau;
> zql> grant zope.View on myothercontainer.* to 'user2'@mysite.pau;
> zql> commit;

Why do you think it would be necessary or helpful to define a SQL dialect 
(which is designed for a relational data model and not for an 
object-oriented model)? The usecases for SQL are different from the 
usecases when you deal with the ZODB. I doubt that are benefits for 
real-world apps for such an approach.

-aj


-- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: info at zopyx.com - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20060423/a26aeaab/attachment.bin


More information about the Zope3-users mailing list