From: Stef T. <st...@um...> - 2009-02-03 02:39:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oleg Broytmann wrote: > On Mon, Feb 02, 2009 at 03:07:49PM -0500, Stef Telford wrote: >> alias's will stay 'fixed' at webserver/framework >> launch .. no ? > > Alias counter is increased on every instantiation of Alias(). > Stupid question here .. but .. why ? (sorry, I know that this could be a large answer but..) Also, whilst I am here, a couple more stupid questions, is there any flag in the SQLObject which tells me if the object was 'created' from the database or instantiated from the database/cache ? I ask only because it would be -awfully- handy to have .. I did look at _creating but, that's not the right item (obviously) Lastly (I promise) I am thinking of over-riding the _SO_finishCreate in the SQLObject subclass so that all database inserts go to the master rather than any slave. I would also have to override _SO_setValue and set (of course) .. any other methods in SQLObject that would have to be subclassed ? Regards Stef -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJh65JANG7uQ+9D9URAjB2AJ9cCoeoKupnZnsFelu3Zt70w729WgCdE/0I rQgn6pwVF3N1p/DG+gAVa+w= =Qnqs -----END PGP SIGNATURE----- |