Hi!

I've been struggling to convert queries below to SQLAlchemy core (
1.1.0 beta2):

SELECT x,y FROM generate_series(1,2) AS x, generate_series(1,2) as y;
 x | y
---+---
 1 | 1
 1 | 2
 2 | 1
 2 | 2
(4 rows)

This query seems to be a shorthand version of this below (though I'm
not 100% sure whether the short version isn't just an accidental case
of ambigious query):

SELECT x, y FROM generate_series(1, 2) AS x
        CROSS JOIN LATERAL generate_series(1, 2) AS y;

CROSS JOIN seems to be currently unimplemented.


Päikest,
Priit Laes :)

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to