You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I misunderstood the previous conversation; I thought we were discussing making the result of asc and desc a pseudotype because we wanted to support pathspecs. Ignore the pathspec part.
Also turning r.desc into a pseudo type doesn't work because it needs to be able to have functions as the data field which doesn't work with our type system right now. This is actually kind of an annoyance.
Activity
jdoliner commentedon Jul 3, 2013
You can also use an arbitrary function as an argument to
order_by.jdoliner commentedon Jul 8, 2013
Working on this.
mlucy commentedon Jul 9, 2013
Alright, this is settled. I'm stealing the pathpec proposal from #1094 into this issue.
I talked to Joe about this earlier, and here's what we settled on:
orderbyshould take arbitrarily many functions and pathspecsascanddescinto a new psuedo-type so that it can be included in arrays or objects. These objects will be of the form:jdoliner commentedon Jul 9, 2013
Wait when did we talk about
orderbytaking pathspecs? The whole point of this proposal is thatorderbyshouldn't take pathspecs.coffeemug commentedon Jul 9, 2013
Just talked to @mlucy in person, I think he misunderstood what we decided to do here.
orderbywon't, in fact, take pathspecs.mlucy commentedon Jul 9, 2013
I misunderstood the previous conversation; I thought we were discussing making the result of
ascanddesca pseudotype because we wanted to support pathspecs. Ignore the pathspec part.jdoliner commentedon Jul 9, 2013
Also turning
r.descinto a pseudo type doesn't work because it needs to be able to have functions as thedatafield which doesn't work with our type system right now. This is actually kind of an annoyance.mlucy commentedon Jul 10, 2013
We worked around this.
coffeemug commentedon Jul 10, 2013
We should also apply this notation to join commands. Specifically:
jdoliner commentedon Jul 16, 2013
This is in review 742.
jdoliner commentedon Jul 18, 2013
In next as of ca57442. Ships 1.8.