DATAMAPPER ORM 1.8.2.1 cascade_delete |
[eluser]jx12345[/eluser]
I want to use cascade delete in MySQL, so in application/config/datamapper.php I added the following line: Code: $config['cascade_delete'] = FALSE; This didn't work, but on searching the code base I found line 275 in application/libraries/datamapper.php Code: public $cascade_delete = TRUE; Setting this to FALSE worked but shouldn't this be possible in the config file? or have I misunderstood the documentation Thanks Jim
[eluser]WanWizard[/eluser]
This was a bug that was fixed here: https://bitbucket.org/wanwizard/datamapp...6605f610eb
[eluser]WanWizard[/eluser]
Just pull the latest one from bitbucket. I have stopped all development, so don't expect any more releases from me. If someone sends we a fix, I'm willing to merge it without testing, and I still pop in here every now and then, but that's it.
[eluser]jx12345[/eluser]
will do, thanks, sorry to hear you've stopped development of datamapper, is anyone else working on it? what are you up to these days?
[eluser]WanWizard[/eluser]
I haven't done any CI since 2010, but I've tried to find the time to keep maintaining Datamapper. But it got more and more difficult, since I can't test anything anymore without actual applications. I've announced my retirement about a month or so ago, and asked for people to step in and take over. So far, no response. For the last year and a half, I've been the project lead for FuelPHP, which is taking up all my spare time.
[eluser]jx12345[/eluser]
'annoyed my retirement' is that what they call a Freudian slip? ![]() is a proven record in the community necessary for the job? I had a look at FuelPHP last year and was really impressed... I wish you luck with that. Cheers Jim
[eluser]WanWizard[/eluser]
lol. ![]() For which job? Maintaining Datamapper? I don't have any requirements, other then "keep up the legacy of those who went before you"... |
Welcome Guest, Not a member yet? Register Sign In |