SimpleRecord Server-Side
This server class provides methods to operate the database records.
SimpleRecord(tableName)
Use the constructor to instantiate an object of the SimpleRecord class for a particular table.
Parameter(s):
| Name | Type | Mandatory | Default value |
|---|---|---|---|
| tableName | String | Y | N |
Example:
SimpleRecord()
const taskRecord = new SimpleRecord('task'