Some functions have the returnType parameter. The values accepted are 1 and 2.
1
2
1 returns the data as JSON.
2 returns the data as an Array.
getAllRecords(1) // will return all the records as an {JSON: 'object'} getAllRecords(2) // will return all the records as an [Array]
Last updated 4 years ago