Returns a list of all objects of the table <Table name> of the data source. Each object represents a row of this table. These objects can be accessed by methods that match the column names of the table. For calculated column names the method property(<column name>) is available. For large amounts of data the access with perform(String sqlStatement) is to be preferred.
content(String tablename) | |||
---|---|---|---|
Argument | String | tablename | Name of the table which serves as data source |
Return value | List |
The file ProjectList.csv exists with the following content:
Project name | Customer | Commission | Drawing number |
---|---|---|---|
Drive hall 1 | EPLAN | KOM-4711 | EPL-ZEI-1234 |
Drive enclosure pump 123 | Test customer 1 | KOM-5050 | EPL-ZEI-9999 |
Drive enclosure pump 456 | Test customer 2 | KOM-8064 | EPL-ZEI-5791 |
The value Drive hall 1 is transferred to the following example formulas with the parameter EPLAN_ProjectName.
Formula | Result |
---|---|
|
EPLAN |
|
KOM-4711 |
|
EPL-ZEI-1234 |