Welcome Guest, Not a member yet? Register   Sign In
Integrating relationship query builder similar to Laravel
#3

(07-25-2019, 09:41 AM)kilishan Wrote: That doesn't sound like a feature request - sounds more like you have code you want to share. Which is awesome!

I'd love to see it when you get it ready for everyone. Would be loved by many in the community I believe.

Instead of modifying core code, you can always submit a pull request to the CI repo and explain why you need that public (a getter would be preferred here...) and we'd likely accept it. Especially to enable a package like this.

Fantastic! I'm anticipating having this done by next weekend after I get all the other relationships hooked up! I would love this to become available for others as it really helps speed up writing code to query relationships.
And I'll go ahead and do that either this evening or tomorrow since I have been keeping my dependencies up to date with the latest alpha version and would hate to have to keep reminding myself to make it public Tongue. And I agree! A getter would be better!
In the mean time, I'll make sure to keep my code up to date so it's easy to extend this Model instead of CI's Model and it will still work seamlessly!
Reply


Messages In This Thread
RE: Integrating relationship query builder similar to Laravel - by hlohrenz - 07-25-2019, 10:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB