nl_tokens: validate the data they gave us
pl_tokens: function validate ( rows ) { // its supposed to be an array of objects if ( Array . isArray ( rows ) ) return rows // a check for the most common error. a lot of ORMs return an object with the desired data on the `rows` property if ( rows && rows . rows ) return rows . rows throw <mask> Error ( ` ${ util . inspect ( rows , { depth : 3 } ) } ` ) }