Hi!  I like this library.  The where and joins kinda remind me of linq 
expressions in ef.

One thing I'm finding out about this and I'm not sure if this is possible or 
not but I'm not able to createarbitrary where int or strings expressions 
without passing a table column:

Works:
select.where = my_table.id == 1

Works:
tmp = 'abc'
select.where = my_table.id == tmp


Doesn't work:
tmp = 'abc'
select.where = tmp == 'abc'

What I would like to see in the where statement:
WHERE 'abc' = 'abc'

Same things goes for something like this:
select.where = 1 == 1

I would expect to see in the SQL:
WHERE 1 = 1

Is this something that's possible?

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

Reply via email to