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

experiment with changing PDO mode #30

Closed
nabeelio opened this issue Jun 22, 2017 · 1 comment
Closed

experiment with changing PDO mode #30

nabeelio opened this issue Jun 22, 2017 · 1 comment
Assignees

Comments

@nabeelio
Copy link
Owner

nabeelio commented Jun 22, 2017

in config/database.php, change to assoc array: 'fetch' => PDO::FETCH_OBJ to PDO::FETCH_ASSOC. should reduce memory usage

@nabeelio nabeelio self-assigned this Jun 22, 2017
@nabeelio
Copy link
Owner Author

nabeelio commented Jul 2, 2017

Switched to assoc mode, seems to be working fine

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

1 participant