Open alvarowolfx opened 2 months ago
For the type returned by the query method, for historical/backward compatibility reasons, the method signature shows that it can return both a Promise<QueryRowsResponse> (which has 3 positional parameters) or Promise<SimpleQueryRowsResponse (which has only 2).
Promise<QueryRowsResponse>
Promise<SimpleQueryRowsResponse
Ideally we should only return QueryRowsResponse and remove any reference to SimpleQueryRowsResponse. This is going to be a breaking change, so we should schedule this for the next major node upgrade release.
QueryRowsResponse
For the type returned by the query method, for historical/backward compatibility reasons, the method signature shows that it can return both a
Promise<QueryRowsResponse>
(which has 3 positional parameters) orPromise<SimpleQueryRowsResponse
(which has only 2).Ideally we should only return
QueryRowsResponse
and remove any reference to SimpleQueryRowsResponse. This is going to be a breaking change, so we should schedule this for the next major node upgrade release.