dbTalk Databases Forums  

Foreign Key with "backup"?

comp.databases.postgresql comp.databases.postgresql


Discuss Foreign Key with "backup"? in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Ben Finney
 
Posts: n/a

Default SQLAlchemy has an ORM plus less-fugly features (was: Foreign Key with "backup"?) - 07-17-2009 , 06:31 PM






Marco Mariani <marco (AT) sferacarta (DOT) com> writes:

Quote:
Bob Badour wrote:

[SQLAlchemy is not fugly,] it's clean and cute, and it's the only
ORM I know of that shows some respect for the SQL below.

What SQL below?

Is this a trick question?
The one that is generated on the fly by the SQL Expression layer and
is executed by the DMBS
Note that ORM refers specifically to an Object-Relational Mapper. To use
the ORM would be to construct objects, perform object operations on
them, and have those invisibly translated by the ORM into database
operations.

If you're using the SQL expression generator of SQLAlchemy, that's
explicitly not using the ORM, it's constructing SQL using object syntax.
Quite a different (and, IMO, less-fugly) thing altogether.

I often use SQLAlchemy, but never for its ORM.

--
\ “Kissing a smoker is like licking an ashtray.” —anonymous |
`\ |
_o__) |
Ben Finney

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.