On Tue, Jul 22, 2008 at 07:25:38AM -0400, inhahe wrote:
> What if I want to modify the backend to SQLObject in some way?
> I want its requests to call my own custom function(s) that ultimately
> use the DBS.
> 
> Basically I'm using stackless and I want my custom function to put the
> request in a queue that goes to a thread pool of database connections
> to MySQL and when a result is ready sends it back to the function on a
> channel so that the function can return the result.
> 
> Can this be done?

   I am afraid you have to patch mysqlconnection backend pretty
extensively. Start looking at sqlobject/dbconnection.py, then
sqlobject/mysql/mysqlconnection.py.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to