#5822: Use two database in one model
--------------------------------+-------------------------------------------
    Reporter:  munna_bitmascot  |         Owner:  krook  
        Type:  Task             |        Status:  closed 
    Priority:  High             |     Milestone:  1.2.x.x
   Component:  DB2              |       Version:  RC2    
    Severity:  Normal           |    Resolution:  invalid
    Keywords:                   |   Php_version:  n/a    
Cake_version:                   |  
--------------------------------+-------------------------------------------
Changes (by mark_story):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 This is not a help forum, please use the google groups or irc for these
 requests :)
 [[BR]][[BR]]
 However, you can use {{{Model::setDataSource()}}} to switch the datasource
 of the model. This will allow you to use tables on another database
 connection.  See
 http://api.cakephp.org/class_model.html#d45dbbc6a13d9921731abf738623bb01

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5822#comment:1>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

  • [CakePHP : The Rapid Dev... CakePHP : The Rapid Development Framework for PHP
    • Re: [CakePHP : The ... CakePHP : The Rapid Development Framework for PHP

Reply via email to