latitude icon indicating copy to clipboard operation
latitude copied to clipboard

Add subSelect() helper function

Open pavarnos opened this issue 5 years ago • 6 comments

See https://github.com/shadowhand/latitude/issues/37#issuecomment-651809904

pavarnos avatar Jul 01 '20 00:07 pavarnos

no difference But it makes it explicit and it creates a clean obvious syntax. I spent a couple of hours trying to figure out how to do a subselect: lots of googling until I stumbled across #37 and its related comment: it is not mentioned in your docs anywhere (that i could find) but is a very common thing to want to do. Maybe think of it as a DX improvement?

pavarnos avatar Aug 03 '20 19:08 pavarnos

I think it would be better to add an example to the documentation than add another function that does exactly the same thing as alias().

shadowhand avatar Aug 03 '20 22:08 shadowhand

ok. want me to delete this PR?

pavarnos avatar Aug 04 '20 00:08 pavarnos

Or you can replace this PR with one that updates the docs. Your choice.

shadowhand avatar Aug 04 '20 00:08 shadowhand