pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Frank Joerdens <frank@joerdens.de>
Cc: pgsql-sql@postgresql.org, Nic Ferrier <nferrier@woome.com>
Cc: Edward George <ed@woome.com>
Cc: Seb Potter <seb@woome.com>
Cc: Hannu Krosing <hannu@2ndquadrant.com>
Subject: Re: Make the planner smarter about idiosyncratic (or broken) ORM behaviour
Date: Fri, 22 May 2009 11:33:35 +0100
Message-ID: <4A167F7F.6000509@archonet.com> (raw)
In-Reply-To: <7d10d2df0905220318w3e69e112v42eee46b88d9f284@mail.gmail.com>
References: <7d10d2df0905220233v3e54ab34lb9c3530fe3543a5c@mail.gmail.com>
	<4A1676E1.6010102@archonet.com>
	<7d10d2df0905220318w3e69e112v42eee46b88d9f284@mail.gmail.com>

Frank Joerdens wrote:
> On Fri, May 22, 2009 at 10:56 AM, Richard Huxton <dev@archonet.com> wrote:
> [...]
>> Are you sure it wouldn't be easier to hire a Python guru for a couple of
>> days and have him/her hack the ORM to make it less, um, "simplistic"?
> 
> Not sure. :) Your arguments make eminent sense to me. I am not exactly
> a fan of ORMs, they make my job much harder ... but there seems to be
> no avoiding them these days.

I either like:
1. Really simple, clean ORM but makes it simple to override with custom 
SQL when you need to.
2. Very clever, sophisticated ORM but makes it simple to override with 
custom SQL when you need to.

Unfortunately I'm not a Python guy so I can't comment on Django's ORM.

-- 
   Richard Huxton
   Archonet Ltd



view thread (4+ messages)  latest in thread

Message-ID: <4A167F7F.6000509@archonet.com>
Permalink:  ../4A167F7F.6000509@archonet.com/
Also on:    postgresql.org/message-id/4A167F7F.6000509@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, frank@joerdens.de, nferrier@woome.com, ed@woome.com, seb@woome.com, hannu@2ndquadrant.com
  Subject: Re: Make the planner smarter about idiosyncratic (or broken) ORM behaviour
  In-Reply-To: <4A167F7F.6000509@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox