Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? |
[eluser]peterphp[/eluser]
Hey Jamie, first things first: Happy New Year :-) I am now looking into the 'save' function of Flare and can't really get it to work. Here is what I am doing: Code: $this->load->library('flare'); This does not work at all. I can improve it by adding these two lines to the Flare save() function: Code: get_instance()->load->database(); With these two lines the inserting (of new ids) into db works, but in case the id already exists the system does NOT automatically switch over to 'update' as it should. Maybe I am missing out just a simple step in my code, but I looked through all the Flare code and could not find any function that I might have to call before calling the save() function. Thanks in advance for any hint. |
Messages In This Thread |
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 12-16-2009, 06:26 PM
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 12-17-2009, 02:45 AM
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 12-17-2009, 08:29 AM
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 12-17-2009, 11:44 AM
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 12-17-2009, 11:56 AM
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 01-09-2010, 07:57 AM
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 01-09-2010, 08:33 AM
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 01-09-2010, 11:29 AM
|