class documentation
class CursorFetchStrategy(ResultFetchStrategy): (source)
Known subclasses: sqlalchemy.engine.cursor.BufferedRowCursorFetchStrategy
, sqlalchemy.engine.cursor.FullyBufferedCursorFetchStrategy
Call fetch methods from a DBAPI cursor. Alternate versions of this class may instead buffer the rows from cursors or not use cursors at all.
Method | fetchall |
Undocumented |
Method | fetchmany |
Undocumented |
Method | fetchone |
Undocumented |
Method | handle |
Undocumented |
Method | hard |
Undocumented |
Method | soft |
Undocumented |
Method | yield |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Inherited from ResultFetchStrategy
:
Class Variable | alternate |
Undocumented |
def fetchmany(self, result:
CursorResult[ Any]
, dbapi_cursor: DBAPICursor
, size: Optional[ int]
= None) -> Any
:
(source)
¶
def fetchone(self, result:
CursorResult[ Any]
, dbapi_cursor: DBAPICursor
, hard_close: bool
= False) -> Any
:
(source)
¶
def handle_exception(self, result:
CursorResult[ Any]
, dbapi_cursor: Optional[ DBAPICursor]
, err: BaseException
) -> NoReturn
:
(source)
¶
Undocumented
def yield_per(self, result:
CursorResult[ Any]
, dbapi_cursor: Optional[ DBAPICursor]
, num: int
):
(source)
¶