Column |
---|
| Parameters- SQL statement string
- parameter or array of parameters to bind (optional)
- number of records to fetch (optional)
This parameter only works with the IBM i DB2 database driver. If omitted, SQL_FETCH_ALL is assumed. - one or more Profound.js strongly typed field names (optional)
This parameter only works with the IBM i DB2 database driver. If field names are passed, they will be bound to columns in the resulting rows and populated by this API if the fetch is successful.
|
Column |
---|
| Return Value- If parameter 4 is specified, the API does not return a value.
- If 1 record is requested, the API returns a JavaScript object that represents the fetched record or null if no record was found.
- If more than 1 record is requested, the API returns an array of JavaScript objects, where each Object represents a record. If no records were fetched, an empty array is returned.
|
|