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

Wrapper for table and column names from data objects. More...

Public Member Functions

def __init__ (self, name)
 
def __eq__ (self, other)
 Supports comparing to strings or other Identifier instances. More...
 
def __str__ (self)
 Returns quoted name. More...
 

Static Public Member Functions

def quote (name)
 Returns quoted name. More...
 

Public Attributes

 name
 

Detailed Description

Wrapper for table and column names from data objects.

Definition at line 54 of file postgres.py.

Constructor & Destructor Documentation

◆ __init__()

def dblite.engines.postgres.Identifier.__init__ (   self,
  name 
)

Definition at line 56 of file postgres.py.

Member Function Documentation

◆ __eq__()

def dblite.engines.postgres.Identifier.__eq__ (   self,
  other 
)

Supports comparing to strings or other Identifier instances.

Definition at line 58 of file postgres.py.

◆ __str__()

def dblite.engines.postgres.Identifier.__str__ (   self)

Returns quoted name.

Definition at line 62 of file postgres.py.

◆ quote()

def dblite.engines.postgres.Identifier.quote (   name)
static

Returns quoted name.

Definition at line 66 of file postgres.py.

Member Data Documentation

◆ name

dblite.engines.postgres.Identifier.name

Definition at line 56 of file postgres.py.


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