Add flatten() method #13
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/php-mysql!13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/13/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds a new method
MySQL->flatten()that replaces response array flattening by passing1toMySQL->limit().This allows more control when array flattening should be used and less magic. There are instances where returning an array of arrays is helpful even if there is only one entry (such as listing in templating)