Dubnium
v0
v0
  • Newest version
  • Reference
    • Install
    • Quick Start
    • API
      • Create and Delete Records
      • Modify Records
      • Get Records
      • Fuzzy Search Records
      • Other
    • returnType
    • License
  • Discord
  • NPM Page
  • Support the Project
  • ES5 vs ES6
Powered by GitBook
On this page
  • About
  • 1
  • 2
  • Example

Was this helpful?

  1. Reference

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]
PreviousOtherNextLicense

Last updated 3 years ago

Was this helpful?