invoke the cursor.setinputsizes() method with appropriate arguments This hook is called if the :attr:`.Dialect.bind_typing` attribute is set to the :attr:`.BindTyping.SETINPUTSIZES` value. Parameter data is passed in a list of tuples (paramname, dbtype, sqlty
(
self,
cursor: DBAPICursor,
list_of_tuples: _GenericSetInputSizesType,
context: ExecutionContext,
)
| 2081 | raise NotImplementedError() |
| 2082 | |
| 2083 | def do_set_input_sizes( |
| 2084 | self, |
| 2085 | cursor: DBAPICursor, |
| 2086 | list_of_tuples: _GenericSetInputSizesType, |
| 2087 | context: ExecutionContext, |
| 2088 | ) -> Any: |
| 2089 | """invoke the cursor.setinputsizes() method with appropriate arguments |
| 2090 | |
| 2091 | This hook is called if the :attr:`.Dialect.bind_typing` attribute is |
| 2092 | set to the |
| 2093 | :attr:`.BindTyping.SETINPUTSIZES` value. |
| 2094 | Parameter data is passed in a list of tuples (paramname, dbtype, |
| 2095 | sqltype), where ``paramname`` is the key of the parameter in the |
| 2096 | statement, ``dbtype`` is the DBAPI datatype and ``sqltype`` is the |
| 2097 | SQLAlchemy type. The order of tuples is in the correct parameter order. |
| 2098 | |
| 2099 | .. versionadded:: 1.4 |
| 2100 | |
| 2101 | .. versionchanged:: 2.0 - setinputsizes mode is now enabled by |
| 2102 | setting :attr:`.Dialect.bind_typing` to |
| 2103 | :attr:`.BindTyping.SETINPUTSIZES`. Dialects which accept |
| 2104 | a ``use_setinputsizes`` parameter should set this value |
| 2105 | appropriately. |
| 2106 | |
| 2107 | |
| 2108 | """ |
| 2109 | raise NotImplementedError() |
| 2110 | |
| 2111 | def create_xid(self) -> Any: |
| 2112 | """Create a two-phase transaction ID. |
no outgoing calls
no test coverage detected