Comments (1)
Dear MareiDB user,
Getting the result set in ascending order is just the default behavior, and it has nothing to do with pagination.
You can use orderBy()
method just right before paginate()
to order the result set in a descending order by a column name as it's shown in the following link :
https://github.com/mareimorsy/DB#order-the-result-set
and also, here is a tutorial of how to do that :
https://www.youtube.com/watch?v=1GbWpC9dSas&list=PLyI730B8iC9X0x361y6R3LIJa6TDqfqS0&index=11
from db.
Related Issues (14)
- java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
- Fatal error: Interface ArrayAccess' not found
- backup of the database
- how to add Views counter ? HOT 1
- Support for more keywords e.g LIKE, Having, Group
- Should be compatible with ArrayAccess::offset HOT 1
- إستفسار من فضلك HOT 1
- Charset
- Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) HOT 2
- Update statement with different id column not working
- Update breaks when ID has more than one digit
- Array to string conversion error
- Parse error: syntax error, unexpected 'list' (T_LIST), HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db.