DataMgr Build 1 Documentation: Get Fields Meta Data

Get Fields Meta Data

DataMgr provides useful information about the fields in each table (mostly thanks to John Whish).

You can use the getDefaultValues() method to get a structure where each key represents a field in the table and each value represents the default value of that field (an empty string is used where no default is present).

Similarly, you can use the getFieldLengths() method to get a structure where each key represents a field in the table and each value represents the length of that field (only string fields with a limited length are returned).

Both methods have the same arguments.

Arguments: