Package psycopg2 :: Module _psycopg :: Class ISQLQuote
[show private | hide private]
[frames | no frames]

Type ISQLQuote

object --+
         |
        ISQLQuote


Abstract ISQLQuote protocol

An object conform to this protocol should expose a getquoted() method returning the SQL representation of the object.


Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  getbinary()
return SQL-quoted binary representation of this object
  getbuffer()
return this object
  getquoted()
return SQL-quoted representation of this object
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
Return repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Property Summary
  _wrapped

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides:
__builtin__.object.__init__

__new__(T, S, ...)

Returns:
a new object with type S, a subtype of T
Overrides:
__builtin__.object.__new__

getbinary()

return SQL-quoted binary representation of this object

getbuffer()

return this object

getquoted()

return SQL-quoted representation of this object