You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme-sync/v0/senseml-reference/2000 - field-query-object/1300 - types.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ The following types are available:
26
26
27
27
[Address](doc:types#address)
28
28
[Boolean](doc:types#boolean)
29
+
[Compose](doc:types#compose)
29
30
[Currency](doc:types#currency)
30
31
[Custom](doc:types#custom)
31
32
[Date](doc:types#date)
@@ -134,6 +135,27 @@ Example output:
134
135
}
135
136
```
136
137
138
+
Compose
139
+
====
140
+
141
+
Defines a custom type composed of types. Lets you transform type output, much as [computed field methods](doc:computed-field-methods) let you filter and transform type output. For example:
142
+
143
+
- It's useful when you need to transform field output but you can't define a regex match for that output. For example, you can define a type but not a match for the cells in a table column.
144
+
- It's useful when you want to transform a typed output with multiple possible source formats (eg date example).
0 commit comments