On Tue, Nov 28, 2006 at 01:19:04AM +0000, Matthew Wilson wrote:
> > 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?
Don't know about ipytohn, but anyway my suggestion was slightly wrong.
The results of conn.query*() methods are not cached, so you should not need
to clear the cache. The cache stores SQLObjects.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
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