dblite  1.3.0
Simple query interface for SQL databases
dblite.engines.postgres.RowFactoryCursor Class Reference

A cursor that generates result rows via given factory callable. More...

Inheritance diagram for dblite.engines.postgres.RowFactoryCursor:
Inheritance graph

Public Member Functions

def __init__ (self, row_factory, *args, **kwargs)
 
def __next__ (self)
 
def fetchall (self)
 
def fetchmany (self, size=None)
 
def fetchone (self)
 
def next (self)
 
def row_factory (self, row)
 Returns value constructed with custom row factory, or as dict if no factory. More...
 

Public Attributes

 factory
 
 rowtype
 

Detailed Description

A cursor that generates result rows via given factory callable.

Definition at line 789 of file postgres.py.

Constructor & Destructor Documentation

◆ __init__()

def dblite.engines.postgres.RowFactoryCursor.__init__ (   self,
  row_factory,
args,
**  kwargs 
)

Definition at line 792 of file postgres.py.

Member Function Documentation

◆ __next__()

def dblite.engines.postgres.RowFactoryCursor.__next__ (   self)

Definition at line 809 of file postgres.py.

◆ fetchall()

def dblite.engines.postgres.RowFactoryCursor.fetchall (   self)

Definition at line 805 of file postgres.py.

◆ fetchmany()

def dblite.engines.postgres.RowFactoryCursor.fetchmany (   self,
  size = None 
)

Definition at line 801 of file postgres.py.

◆ fetchone()

def dblite.engines.postgres.RowFactoryCursor.fetchone (   self)

Definition at line 797 of file postgres.py.

◆ next()

def dblite.engines.postgres.RowFactoryCursor.next (   self)

Definition at line 810 of file postgres.py.

◆ row_factory()

def dblite.engines.postgres.RowFactoryCursor.row_factory (   self,
  row 
)

Returns value constructed with custom row factory, or as dict if no factory.

Definition at line 812 of file postgres.py.

Member Data Documentation

◆ factory

dblite.engines.postgres.RowFactoryCursor.factory

Definition at line 793 of file postgres.py.

◆ rowtype

dblite.engines.postgres.RowFactoryCursor.rowtype

Definition at line 794 of file postgres.py.


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