Last active
December 28, 2016 12:09
-
-
Save hidenorigoto/f5458741ce67a8c108cd6be218e1e3f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sets": [ | |
{ | |
"name":"set1", | |
"fields":[ | |
"id","name","email" | |
] | |
}, | |
{ | |
"name":"set2", | |
"fields":[ | |
"id","name","email" | |
] | |
} | |
], | |
"flow": [ | |
{ | |
"id": "op1", | |
"input": ["set1"], | |
"function":"filter", | |
"argument": { | |
"field":"email", | |
"operator":"contains", | |
"operand":"gmail" | |
}, | |
"comment":"メールアドレスにgmailを含む" | |
}, | |
{ | |
"id":"op2", | |
"input": ["set2"], | |
"function":"filter", | |
"argument": { | |
"field":"name", | |
"operator":"not_contains", | |
"operand":"yahoo" | |
}, | |
"comment":"メールアドレスにyahooを含まない" | |
}, | |
{ | |
"id":"op3", | |
"input": ["op1","op2"], | |
"function":"union", | |
"comment":"op1とop2の結果を結合" | |
}, | |
{ | |
"id":"op4", | |
"input": ["op3"], | |
"function":"select", | |
"argument": { | |
"map":{ | |
"名前":"name", | |
"メールアドレス":"email" | |
} | |
}, | |
"comment":"出力を整形" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment