Functions
RQL comes with built-in function modules for the operations you use most. Call them with the :: syntax.
Available Modules
blob
Binary encoding and decoding: b58, b64, b64url, hex, utf8.
clock
System clock access: now, set, advance.
date
Work with dates: year, month, day, quarter, week, add, subtract, diff, format.
datetime
Full datetime manipulation: extraction, construction, arithmetic, epoch conversion, formatting.
duration
Create and manipulate durations: years, months, days, hours, minutes, seconds.
identity
Record identifier functions: id.
is
Type and value checking: some, none, type, root, anonymous.
math
Numbers and aggregations: sum, avg, min, max, count, abs, round, trig, logarithms.
meta
Value metadata inspection: type.
text
String operations: lower, upper, trim, contains, replace, pad, format.
time
Time-of-day functions: hour, minute, second, add, subtract, diff, format.
module::function(args). For example: text::lower(name).