On 08/12/2021 09:13, Dmitry Yemanov wrote:
3) "row count" makes it possible to know the position after
fetchLast() and everything else could be calculated locally by the
client library, thus making the server-supported "current position"
totally unnecessary.
Do I miss anything? Could we agree on having only "row count" returned
via op_info_cursor and leaving "cursor position" (getRow() in Java
API) up the connectivity library developers?
As long as row count can be returned this would work for IBX. In all
other cases, it looks like it should be possible to compute the current
row number client side. It would also be very useful to get rowcount
returned for unidirectional cursors if that was readily possible. At
present, it is only possible to get an accurate count of the number of
rows in a cursor after you have fetched all of them.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel