by kristopolous · 11y ago · 0 comments
There is both OR and AND support here. If you specify your function parameter as an ARRAY then it operates as an AND, otherwise each argument is an OR.
For instance, to see posts that are remote and python OR remote and ruby, you can do
query(['remote','python'],['remote','ruby']);
The return of the function shows how many jobs were shown versus in total. For instance, as of this writing, I get the following result when running the above function:
{ shown: 56, total: 827 }
btw, i still can't find a job. :-(
on query(['remote','c++'])
query(['remote',/c\+\+/])
The lack of quotes in the above example is 100% intentional ... copy and paste that exactly ... (js is kinda weird sometimes).
If you are really interested (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) will tell you more about it.
e.g., query('1..k') works.