returnType

About

Some functions have the returnType parameter. The values accepted are 1 and 2.

1

1 returns the data as JSON.

2

2 returns the data as an Array.

Example

getAllRecords(1) // will return all the records as an {JSON: 'object'}
getAllRecords(2) // will return all the records as an [Array]

Last updated