Quick Reference

DTL Transform Functions

Comments

comment

Conditionals

case · case-eq · if

Creation

create · create-child

Filters

discard · filter

Side-effects

add · add-if · copy · default · make-ni · merge · merge-union · remove · rename

Special

fail! · trip!

DTL Expression Functions

Boolean logic

all · and · any · or · not

Booleans

boolean · is-boolean

Bytes

base64-decode · base64-encode · bytes · is-bytes

Comparisons

eq · gt · gte · lt · lte · neq

Conditionals

case · case-eq · if

Date and time

datetime · datetime-diff · datetime-format · datetime-parse · datetime-plus · datetime-shift · is-datetime · now

Dictionaries

dict · has-key · is-dict · items · key-values · keys · values · path · apply · apply-hops · apply-ns

Encryption

decrypt · decrypt-pgp · decrypt-pki · encrypt · encrypt-pgp · encrypt-pki

Hops

hops · lookup-entity

JSON

json · json-parse · json-transit · json-transit-parse

Lists

combine · count · distinct · enumerate · filter · first · flatten · group · group-by · in · insert · is-empty · is-list · is-not-empty · last · list · map · map-dict · map-values · max · min · nth · range · reversed · slice · sorted · sorted-descending · sum

Math

- · / · * · % · ^ · + · abs · ceil · cos · divide · floor · minus · mod · multiply · plus · pow · round · sin · sqrt · tan

Misc

completeness · hash128 · is-changed · literal · tuples

Namespaced identifiers

is-ni · ni · ni-collapse · ni-expand · ni-id · ni-ns

Nulls

coalesce · coalesce-args · if-null · is-not-null · is-null

Numbers

decimal · float · hex · integer · is-decimal · is-float · is-integer

Phonenumbers

phonenumber-parse · phonenumber-format ·

Sets

difference · intersection · intersects · union

Strings

concat · is-string · join · length · ljust · lower · lstrip · matches · replace · rjust · rstrip · split · string · strip · substring · upper

URIs

is-uri · uri · url-quote · url-unquote

UUIDs

is-uuid · uuid

Entity model

Reserved fields

_id · _deleted · _filtered · _hash · _previous · _tracked · _ts · _updated

Special fields

$children · $ids · $replaced