Welcome Guest, Not a member yet? Register   Sign In
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it?
#7

[eluser]Jamie Rumbelow[/eluser]
Hey Peter,

Thanks for contacting me.

The first problem you mentioned is fixed in the latest update I pushed to the repository. The second I'm not so sure about - I think it's because 'id' is expected to be your auto incremented primary key. If you want to change it to something else (again, remember to update to the latest version), create a method in your model called "primary_key" that returns the name of the column. You'll need that column to exist for it to work.

If it still doesn't work, make the code available online and I'll take a look.

Cheers,

Jamie


Messages In This Thread
Jamie Rumbelow's Flare O/R Mapper for CI - anybody playing around with it? - by El Forum - 01-09-2010, 08:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB