psycopg2 :: _range :: NumericRange :: Class NumericRange
[frames] | no frames]

Class NumericRange

object --+    
         |    
     Range --+
             |
            NumericRange

A `Range` suitable to pass Python numeric types to a PostgreSQL range.

PostgreSQL types :sql:`int4range`, :sql:`int8range`, :sql:`numrange` are casted into `!NumericRange` instances.

Instance Methods

Inherited from Range: __contains__, __eq__, __ge__, __gt__, __hash__, __init__, __le__, __lt__, __ne__, __nonzero__, __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from Range: isempty, lower, lower_inc, lower_inf, upper, upper_inc, upper_inf

Inherited from object: __class__