Dmitry Yemanov wrote 28.11.2021 12:22:
Theoretically, we could extend IRecordSet with something similar (although it would also require a protocol change), but the question is whether it's really needed. Personally, I don't see it useful per se.
It could be useful for client-side caching dataset implementation. Imagine that you fetched first 10 records and cached them, then user has requested "last" seek and you fetch 10 records backward to show them in grid. Here is a good idea to identify every record somehow to prevent fetching/caching a record twice if result set is less than 20 records. And it doesn't need to be a dedicated method of IResultSet. Something generic and easily extendable like IResultSet::getInfo() would be enough.
-- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel