Forum Discussion
@subhash.a.chandra I believe your question is you wish to browse the /tmp/API_LOG/
directory which contains the log files you are writing via the Script Snap, is that correct?
The Binary Snap Pack has a Directory Browser and File Reader Snaps that can work with the local filesystem e.g. file:///tmp/API_LOG/
- is that something you have tried?
- SpiroTaleski3 years agoValued Contributor
You can use the mod(“%”) operator.
@nmuppa - you mentioned queries.
Exactly what are you looking for here?
“%” is the modulus operator in JavaScript, Ruby, and Python.
If you really mean “queries,” which database system are you querying?
Microsoft SQL Server uses the % operator as well, AFAICR.
Oracle and PostgreSQL use a MOD() function.
MySQL uses a dyadic MOD operator (dividend MOD divisor).
Other DBMSes may use something entirely different, like “remainder”.Or did you really mean you want to implement a modulus function? From scratch?
Related Content
- 2 years ago
- 7 years ago