Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created February 26, 2019 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/6aee1012e1b000c2cdeb7b538d247aba to your computer and use it in GitHub Desktop.
Save dogbert17/6aee1012e1b000c2cdeb7b538d247aba to your computer and use it in GitHub Desktop.
diffs
dogbert@dogbert-VirtualBox ~/.zef/store $ diff /home/dogbert/repos/Red/t/06-better-map.t /home/dogbert/.zef/store/Red-0.0.2.tar.gz/Red-0.0.2/t/06-better-map.t
17c17
< $*RED-DB.when: :once, Q[select case when ( b == 0 or b is null ) then a else a end as "data_1" from mmm], :return[{:1data_1}, {:2data_1}, {:3data_1}];
---
> $*RED-DB.when: :once, Q[select case when ( b == 0 or b is null ) then a else a end as "data" from mmm], :return[{:1data}, {:2data}, {:3data}];
20,23d19
<
< $*RED-DB.when: :once, rx[select <.ws> [ "mmm."[a|b] <.ws> as <.ws> \"data_\d\" ] ** 3 % [<.ws>","<.ws>] <.ws> from <.ws> mmm], :return[{:1data_1}, {:2data_1}, {:3data_1}];
<
< M.^all.map({ .a, .b, .a }).Seq;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment