Reads in any unread LOB data. For long char fields, we may already have up to odbc_longreadlen() bytes in the buffer. These are passed in via the $curdata parm. For long binary fields, no data is read initially since odbc_binmode() is set to ODBC_BINMODE_PASSTHRU.
[line 46]
ODBC implementation of a cached ResultSet.
In addition to limit/offset emulation, this class implements a resultset cache. This can be useful as a workaround for some ODBC drivers which lack support for record count retrieval (odbc_num_rows()), reverse/absolute cursor scrolling, etc. This class will cache rows _on-demand_. So if you only read the first couple rows of a result, then only those rows will be cached. However, note that if you call getRecordCount() or last(), the class must read and cache all available records.
To use this class, create a derived ODBCAdapter class which returns an instance of ODBCCachedResultSet from the ODBCAdapter::createResultSet() method. Specify the adapter via the query portion of the Connection URL: