Skip to content
Discussion options

You must be logged in to vote

Hi. Hm ... I pretty sure I made a "where" built-in and it accepted a code block and returned rows that code returnd true. But I don't see it now. It's also in the cookbook page: https://ryelang.org/cookbook/working-with/tables/

But it accepted only one column. For your case we would need something like where\many { 'colA 'colB } { colA = val1 |or colB = val2 }

I will add both in next release. But since it needs to evaluate rye code for each row I'm not sure if will befaster or slower than two consecutive where-* calls.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaderoca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants