File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,23 @@ put_vars(
267
267
268
268
[ Java Code] ( https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixMethod.java+"+put_vars+{" )
269
269
270
+ ##### ` to_var `
271
+
272
+ Defines a single global variable that can be referenced with ` $[<variableName>] ` and assinges the value of the ` <sourceField> ` .
273
+
274
+ ``` perl
275
+ to_var(" <sourceField>" , " <variableValue>" )
276
+ ```
277
+
278
+ Options:
279
+
280
+ - ` "default" ` : provide default value if source field does not exist.
281
+
282
+
283
+ [ Example in Playground] ( https://metafacture.org/playground/?example=to_var )
284
+
285
+ [ Java Code] ( https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixMethod.java+"+to_var+{" )
286
+
270
287
#### Record-level functions
271
288
272
289
##### ` add_field `
You can’t perform that action at this time.
0 commit comments