[SQLObject] Why must SQLObject expose database connections to users's?

2008-05-06 Thread chris
Why does my TurboGears/SQLObject app need an explicit connection to database to be exposed? I'm thinking of the following line which *MUST* appear __connection__ = turbogears.database.PackageHub("myapp") Isn't a goal for ORMs to hide all this database conn

[SQLObject] better way to manually commit changes to database....?

2008-05-06 Thread chris
In my TurboGears/SQLObject app, I manually commit changes to the database with a line like the following... MyObject._connection.commit() It works but looks ugly since _connection is "private variable" that should not be accessed rig

Re: [SQLObject] Why must SQLObject expose database connections to users?

2008-05-06 Thread chris
than in Python code? Unless I'm missing something, this is *already* done in TurboGears/SQLObject as the config file there defines a sqlobject.dburi variable! Chris - This SF.net email is sponsored by the 2008 JavaOne(SM

Re: [SQLObject] Why must SQLObject expose database connections to users?

2008-05-06 Thread chris
ne convinced me to use the former so I switched.) Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority c

Re: [SQLObject] better way to manually commit changes to database....?

2008-05-06 Thread chris
t works but looks ugly since _connection is "private variable" that >should not > > be accessed right? > > > please suggest another way. I think I'll keep this way. I was just trying one last email to see if there was another way. That's all. Thanks for t

Re: [SQLObject] Why must SQLObject expose database connections to users's?

2008-05-06 Thread chris
t community is so talented I knew I'd learn something from asking a possibly dumb question. My apologies if I annoyed anyone. Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year&

[SQLObject] Creating composite fields

2006-08-07 Thread Chris Cioffi
= StringCol()Is there a way to have sqlobject generate this structure w/o having to create 39 elements in my table?  I suppose I could use 1-to-1 joins for each record, but that seems less than elegant as well. Thanks!Chris-- "A little government and a little luck are necessary in life, but onl

[SQLObject] SQLObject

2009-09-29 Thread Chris Wood
ct follows? I couldn't find it on the website. Thanks in advance for any help anyone is able to give. Chris -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to

Re: [SQLObject] SQLObject

2009-09-30 Thread Chris Wood
ist?) dictionary? If I can use columns, how do I actually initialise / fill the dictionary? Thanks, Chris 2009/9/29 Oleg Broytman > On Tue, Sep 29, 2009 at 09:03:51AM +0100, Chris Wood wrote: > > I'm new to using SQLObject, > >Welcome! > > > and having some problems

Re: [SQLObject] SQLObject

2009-09-30 Thread Chris Wood
Excellent, that works! Thanks. 2009/9/30 Oleg Broytman > (Answering to the list...) > > On Wed, Sep 30, 2009 at 10:33:18AM +0100, Chris Wood wrote: > > class Cruise(sqlobject.SQLObject): > > connection = conn > > class sqlmeta: > > table = T

[SQLObject] rookie question, func->SelectResults

2011-06-30 Thread Chris Bennett
that table be returned as a SelectResults class so i can access its attrs and everything? This may be a stupid question or already answered but i thought i would ask. Thank you very much Chris Bennett