On 12/17/05, Robert Wittams <[EMAIL PROTECTED]> wrote:

>
> Adding orm hints for replication and for federation is going to be....
> interesting, shall we say ;-)
>
>

a connection list each specifying a specific connection. (with a default one)
your could then override a the 'READ' connection with one from the
list, or the WRITE one.

the ORM code already knows when it is doing an update or a read-only
request, it would be a matter of it choosing

ie..
def method_save:
  cursor = db.db.cursor_write()
  or
  cusor = db.get_cursor_write("modelname")
 .. continue on...

regards
Ian
--
[EMAIL PROTECTED] -- blog: http://feh.holsman.net/ -- PH: ++61-3-9877-0909

If everything seems under control, you're not going fast enough. -
Mario Andretti

Reply via email to