Skip to content

v0.5.0

Compare
Choose a tag to compare
@kasrak kasrak released this 29 Apr 05:41
· 189 commits to master since this release
  • Optional Promise-based API: if you call any method that takes a
    callback without providing a callback, it will return a Promise:

    table.find(recordId).then(record => {
        // Process record.
    }).catch(err => {
        // Handle error.
    })
    
  • Added an all() method for automatically fetching all records
    across all pages when selecting from a table:

    table.select({view: 'Main View').all().then(records => {
        // records array will contain every record in Main View.
    }).catch(err => {
        // Handle error.
    })