Add ORDER BY and LIMIT OFFSET methods #8
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!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/8/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
order_by()method which can be used toORDER BYa query in theget()method. This PR also allowsget()'s$limitargument to accept an assoc array ofOFFSET=>LIMITto access a specific row range.Also contains a refactor for the query executing and preparation methods into a separate class and file.