Home | Trees | Indices | Help |
---|
|
object --+ | Input_Bind
Base input binding class.
The constructor takes two arguments, the first is the object in which to look for a parameter. The second is the name (as a string) of the parameter to read.
Internally, the Statement object calls Input_Bind.set_value on all bound inputs just before calling execute. The set_value method is responsible for setting the internal C value from the Python value (who.what) that is pointed to by _buffer_type. Note that the streaming objects are unique because their data is already transfered when the user wrote to the stream.
|
|||
|
__init__(...) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
||
|
__new__(T,
S,
...) Returns a new object with type S, a subtype of T... |
||
Inherited from |
|
|||
|
__pyx_vtable__ = <PyCObject object at 0x852e4b8>
|
|
|||
|
_buffer A void * pointer to where the data is stored. |
||
|
_buffer_length The size of _buffer in bytes. |
||
|
_buffer_type The type of the buffer (as extern_mysql.enum_field_types). |
||
|
_is_null = <member '_is_null' of 'mysql.stmt.bind_in.Input_Bind... Whether or not the value is NULL. |
||
|
_is_unsigned Set to true if the buffer is an unsigned number. |
||
|
_length The length of the value in _buffer. |
||
|
_what A string of the attribute to get from _who for the Python value to read. |
||
|
_who The object who contains the value. |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
|
__pyx_vtable__
|
|
_bufferA void * pointer to where the data is stored. Should be set in __new__. (C only.) |
_buffer_lengthThe size of _buffer in bytes. Not used for some data types (such as numbers) because the size is implied by the buffer type. Should be set in __new__ if it is needed. (C only.) |
_buffer_typeThe type of the buffer (as extern_mysql.enum_field_types). Should be set in __new__. (C only.) |
_is_nullWhether or not the value is NULL. Should always be set or cleared in the set_value method. (C only.)
|
_is_unsignedSet to true if the buffer is an unsigned number. Should be set in __new__. (C only.) |
_lengthThe length of the value in _buffer. Not used for some data types (such as numbers) because the size is implied by the data type. Should be set in the set_value method if needed. (C only.) |
_whatA string of the attribute to get from _who for the Python value to read. Automatically set from __init__. (C only.) |
_whoThe object who contains the value. Automatically set from __init__. (C only.) |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Sun Nov 12 20:01:35 2006 | http://epydoc.sourceforge.net |