Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
rails order nil last
Mojtaba Reyhani
Programming language:
Whatever
2021-04-25 21:13:41
0
Q:
rails order nil last
Rob
Code:
Whatever
2021-08-05 17:57:11
Photo.order('collection_id DESC NULLS LAST') # NULLs come last
0
Tags
last
Related
array skip first element ruby
New to Communities?
Join the community