Relation:write
Description
write expression
Parameters
- expression: result must be a valid name with the extensions .csv, .txt or .json
Examples
example | comment |
---|---|
write "products.csv" |
filename must be quoted |
write "election".year."json" |
Global variables can be used |
write "mytable" |
Without extension, a relation is written to memory |
Comments
There is no path, only the filename. You can only write after having saved the document as .rel file in a folder. The file must be in the same folder. Relation uses a Sandbox.
The file is always written in UTF 8-encoding
The files can be CSV, TAB, JSON. See file formats for specifications.