Update docs to correctly define `conditional_to_base64` by directionless · Pull Request #8460 · osquery/osquery
While we are at it, can we also update these lines:
osquery/docs/wiki/introduction/sql.md
Lines 505 to 506 in b534877
| osquery> select conditional_to_base64(device_id + char(183)) as device_id from cpu_info; | |
| device_id = 0 |
to
osquery> select conditional_to_base64(device_id || char(183)) as device_id from cpu_info;
device_id = Q1BVMMK3
The string concatenation operator is wrong, so the function gets passed 0, and no encoding happens.