Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending The Model #2223

Closed
crustamet opened this issue Sep 15, 2019 · 1 comment
Closed

Extending The Model #2223

crustamet opened this issue Sep 15, 2019 · 1 comment

Comments

@crustamet
Copy link
Contributor

i dont really understand how this model really works besides the basic stuff that all frameworks has.

I can no longer make the business logic in the models
I dont have a good example how an many to many relationship works.

Example :
table : UserModel.
foreign_table : UserCommentsModel.

I need a way based on those two models somehow to retrieve all the info without recoding all the functions.

Do Codeigniter members agree that we need an ORM like MODEL ?
Or it is just me wanting this feature inside CI4 ?

@MGatner
Copy link
Member

MGatner commented Sep 15, 2019

This is probably better suited for the forums, GitHub is for issues and bugs. I think the decision was that CI4 won’t have ORM as part of its core, but there are a couple projects to extend CI4 for such functionality. Here is one from the forums:

https://github.com/hlohrenz/CI4-Relationship-Query-Builder

@MGatner MGatner closed this as completed Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants