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

Alright so I got the public git repo up so we can start testing it out and working out all the kinks and getting it to a place where it can be very helpful to developers who love developing in CodeIgniter! Smile Then maybe in the future, I could add a PR to the main CI4 repo if it becomes a hit!

https://github.com/hlohrenz/CI4-Relation...ry-Builder

Let me know what you all think <3 Feel free to clone it and test it out. I have tested all relationships (not the HasManyThrough), but I may have missed a few bugs so I would love if everybody messed around with it! I'm still working on adding more functionality. My main thing is adding the whereHas() method to models to add constraints depending on a constraint on the related model. Smile
Reply


Messages In This Thread
RE: Integrating relationship query builder similar to Laravel - by hlohrenz - 07-30-2019, 12:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB