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

allows to get table and primary key name out of the model #1196

Merged
merged 1 commit into from
Sep 4, 2018

Conversation

nowackipawel
Copy link
Contributor

adding additional if for __get method to make easier achieve sth like this:
$row->{$model->primaryKey}

adding additional if for __get method to make easier achieve sth like this:
$row->{$model->primaryKey}
@nowackipawel nowackipawel changed the title Update Model.php allows to get table and primary key name out of the model Sep 3, 2018
@lonnieezell lonnieezell merged commit 72e77c6 into codeigniter4:develop Sep 4, 2018
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

Successfully merging this pull request may close these issues.

2 participants