<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Firebird: Support more XResultSet functions"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118094#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Firebird: Support more XResultSet functions"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118094">bug 118094</a>
              from <span class="vcard"><a class="email" href="mailto:btomi96@gmail.com" title="Tamas Bunth <btomi96@gmail.com>"> <span class="fn">Tamas Bunth</span></a>
</span></b>
        <pre>The Firebird API supports moving the cursor only forward. That's why things
like "previous" is not supported, and "relative" and "absolute" are only
partially supported (you cannot move backwards).

They could be implemented though by reopening the result set each time we'd go
backwards, and seek out the requested row. It would be much slower though (user
should be aware of the implementation details).

"isFirst" is already implemented afais.

To implement "isLast", we need to know somehow the total number of rows. After
looking around in the documentation of the C API it seems to me that it cannot
be done, unless we calculate it with a "Select COUNT(...) from ..." kind of
query. That could be expensive though.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>