Skip to content

order by created timestamp#9

Open
jr00n wants to merge 1 commit into
londonappbrewery:masterfrom
jr00n:sortbycreated
Open

order by created timestamp#9
jr00n wants to merge 1 commit into
londonappbrewery:masterfrom
jr00n:sortbycreated

Conversation

@jr00n

@jr00n jr00n commented Jul 23, 2020

Copy link
Copy Markdown

Proper ordering by created timestamp

@simplygkgk

Copy link
Copy Markdown

Still not able to get the order
Please explain.
As suggested by you when i create a 'created' time stamp , i cant see any messages.
please share ASAP

@deepakmkoshy

Copy link
Copy Markdown

The descending should be false right?
.orderBy('created', descending: false)

instead of

.orderBy('created', descending: true)

@legolegoles

Copy link
Copy Markdown

Yes. Ascending order is also fine and looks more natural. You can omit the descending parameter altogether.

.orderBy(‘created’)

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

Successfully merging this pull request may close these issues.

4 participants