...
This API can either fetch data into declared fields / data structures / arrays, or return data as primitive objects / arrays.
This API is only supported when using a IBM i database.
When used to return data into primitive JavaScript objects / arrays, it can be called in the form of a method attached to a statement object as follows: stmt.fetchRelative().
...