Make flatten() run limit(1) #14
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/php-mysql#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
I'm considering making the
MySQL->flatten()method also runMySQL->limit(1)since it has the same effect.Example:
I'm not sure tho if this could have other unwanted side-effects when for example removing the flatten flag with
flatten(false).LIMITwould still be1. Or if we simply remove theLIMITall together, any LIMIT set before this will be forgotten and wiped and I'm not sure either if it's worth storing the last LIMIT in an instanced property.. It might be overkill.