LiteSQL
Public Member Functions | List of all members
litesql::Backend::Cursor Class Referenceabstract

An abstract base class for cursors that iterate result sets returned by relational database. More...

#include <backend.hpp>

Public Member Functions

virtual ~Cursor ()
 empty
 
virtual void setCacheSize (int)
 if inherited Cursor can cache its data to speed up iteration, this method is used to set cache size. More...
 
virtual Record fetchOne ()=0
 returns one result row. More...
 

Detailed Description

An abstract base class for cursors that iterate result sets returned by relational database.

Member Function Documentation

◆ fetchOne()

virtual Record litesql::Backend::Cursor::fetchOne ( )
pure virtual

returns one result row.

empty row means that result set is iterated through

◆ setCacheSize()

virtual void litesql::Backend::Cursor::setCacheSize ( int  )
inlinevirtual

if inherited Cursor can cache its data to speed up iteration, this method is used to set cache size.

All backends do not react to this request.


The documentation for this class was generated from the following file:

SourceForge.net Logo