On Mon 27 Nov 2006 11:07:00 AM EST, Oleg Broytmann wrote:
> On Mon, Nov 27, 2006 at 03:18:11PM +0000, Matthew Wilson wrote:
>> conn = model.hub.hub.getConnection()
>> results = conn.queryAll('select now()')
>>
>> I always get the first time over and over again.
>>
>> What can I do to purge the cache
>
> conn.cache.clear()
That doesn't seem to do anything:
In [18]: conn = model.hub.hub.getConnection()
In [19]: conn.queryAll('select now()')
Out[19]: [(<DateTime object for '2006-11-27 20:16:12.000' at b71a44f0>,)]
In [20]: conn.cache.clear()
In [21]: conn.queryAll('select now()')
Out[21]: [(<DateTime object for '2006-11-27 20:16:12.000' at b71a43a0>,)]
Is it possible that since I'm using ipython, something is awry?
Matt
> Oleg.
--
A better way of running series of SAS programs:
http://overlook.homelinux.net/wilsonwiki/SasAndMakefiles
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss