From: Pronichev A. <dy...@ag...> - 2005-04-29 12:59:50
|
Hi. Firstly I'm not a native speaker...and I'm newbie to SPOPS :). I need my SPOPS object to 'fetch'() like this: - I call Object->fetch_group(.....); - Before fetch()ing objects I must make a request to some daemon and pass to daemon fetch() arguments; - Daemon determine a dsn, user, password for each object that meet this sql statement and return it to me; - I have to fetch() each object, with right dbi connect. Who can suggest me a right way to do it? I think that I must create a SPOPS::SQLInterface subclass, that override all db_* methods to make request to daemon and after that call my parent methods with right $dbh. Am I right or no? Thanks. -- WBR dyker Agava Software |