I get the point. I will run some tests what the difference in bytes will be and then make the consideration performance vs consistency. Thank you very much.


On 31-aug-2005, at 16:08, Oleg Broytmann wrote:

On Wed, Aug 31, 2005 at 03:53:42PM +0200, Koen Bok wrote:

If the object has 22 fields, where I only need two to display, and  
client is connected to the server with a relatively slow connection  
(dsl) there will be a lot of overhead. Don't you think?

   Then you want to use SQLObject in a slightly strange non-OO way. But it
is possible, too:

from sqlobject.sqlbuilder import Select
conn = MyTable.sqlmeta.connection

a, b = conn.queryOne(conn.sqlrepr(
   Select(MyTable.q.a, MyTable.q.b, MyTable.q.c == "filterByMe")

   Ugly, but possible...

     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
sqlobject-discuss mailing list

Download my V-Card