get(key: string): string
Parameter | Type | Description |
key | string | Column name |
Type | Description |
string | Data value. |
import dataset from 'pts/dataset';export default function () {// Obtain the data value from the dataset with the column name 'key1', assuming the value is 'value1'.const value = dataset.get('key1');// Output 'key1 => value1'.console.log(`key1 => ${value}`);}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback