[xquery-talk] Comparing XML Databases to Object Databases

Michael Rys mrys at microsoft.com
Thu Mar 20 10:23:26 PST 2008

Actually LINQ is adding declarative iteration and filters to procedural languages. But, like the scripting extension of XQuery, that allows complete composability of updates and queries, it can compose with side-effecting expressions and thus can be non-declarative (this is not true for LINQ on SQL that is being translated to SQL and thus is more constrained).

Best regards

-----Original Message-----
From: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] On Behalf Of Michael Kay
Sent: Thursday, March 20, 2008 4:54 AM
To: 'John Snelson'; 'daniela florescu'
Cc: talk at x-query.com
Subject: RE: [xquery-talk] Comparing XML Databases to Object Databases

> 4) The rise in interest to more closely combine program logic
> with query logic (LINQ etc.)

Actually, this is very much what object databases tried to do, and I think
it's a mixed blessing.

I think it works if you raise the level of the programming language so that
it's declarative and has awareness of the database schema and type system.

I don't think it works if you lower the level of the data manipulation
language so that it's procedural and lacks that awareness. That's what a lot
of object database systems tried to do, and I think it's what LINQ does.

Michael Kay

talk at x-query.com

More information about the talk mailing list