Package mysql :: Package stmt :: Module bind_in :: Class In_New_Decimal
[hide private]
[frames] | no frames]

Class In_New_Decimal



object --+        
         |        
Input_Bind --+    
             |    
  Base_Decimal --+
                 |
                In_New_Decimal

Signed "new" decimal input binding.

This is currently implemented exactly the same as In_Decimal using the MYSQL_TYPE_NEWDECIMAL field type. It is currently not known if this actually causes any different behavior in the server.

Warning: Decimal input binding is broken in server versions 5.0.18 and older. See http://bugs.mysql.com/bug.php?id=16511

The value must be a decimal.Decimal object.



Instance Methods [hide private]
  __new__(T, S, ...)
Returns a new object with type S, a subtype of T...

Inherited from Base_Decimal: __init__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Class Variables [hide private]
  __pyx_vtable__ = <PyCObject object at 0x852e7b8>

Instance Variables [hide private]

Inherited from Base_Decimal (private): _allow_negative, _value


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__new__(T, S, ...)

 
Returns:
a new object with type S, a subtype of T

Overrides: Base_Decimal.__new__

Class Variable Details [hide private]

__pyx_vtable__

Value:
<PyCObject object at 0x852e7b8>