MCPcopy Create free account

hub / github.com/mysql/mysql-connector-python / functions

Functions5,006 in github.com/mysql/mysql-connector-python

Methodcmd_quit
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:397
Methodcmd_refresh
(self, options: int)
mysql-connector-python/lib/mysql/connector/connection_cext.py:1030
Methodcmd_refresh
Send the Refresh command to the MySQL server. This method sends the Refresh command to the MySQL server. The options argument should
mysql-connector-python/lib/mysql/connector/abstracts.py:2116
Methodcmd_refresh
(self, options: int)
mysql-connector-python/lib/mysql/connector/aio/connection.py:1364
Methodcmd_refresh
Send the Refresh command to the MySQL server. This method sends the Refresh command to the MySQL server. The options argument should
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1883
Methodcmd_refresh
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:392
Functioncmd_refresh_verify_options
Decorator verifying which options are relevant and which aren't based on the server version the client is connecting to.
mysql-connector-python/lib/mysql/connector/_decorating.py:42
Functioncmd_refresh_verify_options
Decorator verifying which options are relevant and which aren't based on the server version the client is connecting to.
mysql-connector-python/lib/mysql/connector/aio/_decorating.py:43
Methodcmd_reset_connection
Resets the session state without re-authenticating. Reset command only works on MySQL server 5.7.3 or later. This method permits the
mysql-connector-python/lib/mysql/connector/abstracts.py:2406
Methodcmd_reset_connection
Resets the session state without re-authenticating. Reset command only works on MySQL server 5.7.3 or later. The result is True for a
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1774
Methodcmd_reset_connection
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:478
Methodcmd_shutdown
Shut down the MySQL Server This method sends the SHUTDOWN command to the MySQL server. The `shutdown_type` is not used, and it's kept
mysql-connector-python/lib/mysql/connector/connection_cext.py:1047
Methodcmd_shutdown
Shuts down the MySQL Server. This method sends the SHUTDOWN command to the MySQL server. The `shutdown_type` is not used, and it's ke
mysql-connector-python/lib/mysql/connector/abstracts.py:2157
Methodcmd_shutdown
Shut down the MySQL Server. This method sends the SHUTDOWN command to the MySQL server. The `shutdown_type` is not used, and it's kep
mysql-connector-python/lib/mysql/connector/aio/connection.py:1450
Methodcmd_shutdown
Shut down the MySQL Server. This method sends the SHUTDOWN command to the MySQL server. The `shutdown_type` is not used, and it's kep
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1939
Methodcmd_shutdown
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:402
Methodcmd_statistics
Return statistics from the MySQL server
mysql-connector-python/lib/mysql/connector/connection_cext.py:1073
Methodcmd_statistics
Sends the statistics command to the MySQL Server. Returns: dict: Stats packet information about the MySQL server including uptime
mysql-connector-python/lib/mysql/connector/abstracts.py:2165
Methodcmd_statistics
Send the statistics command to the MySQL Server. This method sends the STATISTICS command to the MySQL server. The result is a dictio
mysql-connector-python/lib/mysql/connector/aio/connection.py:1458
Methodcmd_statistics
Send the statistics command to the MySQL Server. This method sends the STATISTICS command to the MySQL server. The result is a dictio
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1947
Methodcmd_statistics
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:407
Methodcmd_stmt_close
Closes the prepared statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:718
Methodcmd_stmt_close
Deallocates a prepared MySQL statement. Args: statement_id: Statement ID found in the dictionary returned by
mysql-connector-python/lib/mysql/connector/abstracts.py:2345
Methodcmd_stmt_close
Deallocate a prepared MySQL statement. This method deallocates the prepared statement using the statement_id. Note that the MySQL ser
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1875
Methodcmd_stmt_close
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:463
Methodcmd_stmt_execute
Executes the prepared statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:693
Methodcmd_stmt_execute
Executes a prepared MySQL statement. Args: statement_id: Statement ID found in the dictionary returned by
mysql-connector-python/lib/mysql/connector/abstracts.py:2302
Methodcmd_stmt_execute
Execute a prepared MySQL statement.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1853
Methodcmd_stmt_execute
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:458
Methodcmd_stmt_fetch
Fetch a MySQL statement Result Set. This method will send the FETCH command to MySQL together with the given statement id and the num
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1831
Methodcmd_stmt_prepare
Prepares the SQL statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:672
Methodcmd_stmt_prepare
Prepares a MySQL statement. Args: statement: statement to prepare. Returns: prepared_stmt: A `Prepared State
mysql-connector-python/lib/mysql/connector/abstracts.py:2280
Methodcmd_stmt_prepare
Prepare a MySQL statement. This method will send the PREPARE command to MySQL together with the given statement.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1841
Methodcmd_stmt_prepare
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:453
Methodcmd_stmt_reset
Resets the prepared statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:735
Methodcmd_stmt_reset
Resets data for prepared statement sent as long data. Args: statement_id: Statement ID found in the dictionary returned by
mysql-connector-python/lib/mysql/connector/abstracts.py:2390
Methodcmd_stmt_reset
Reset data for prepared statement sent as long data. The result is a dictionary with OK packet information.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1864
Methodcmd_stmt_reset
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:473
Methodcmd_stmt_send_long_data
Send data for a column
mysql-connector-python/lib/mysql/connector/connection_cext.py:1105
Methodcmd_stmt_send_long_data
Sends data for a column. Currently, not implemented for the C-ext. Args: statement_id: Statement ID found in the diction
mysql-connector-python/lib/mysql/connector/abstracts.py:2361
Methodcmd_stmt_send_long_data
Send data for a column. This methods send data for a column (for example BLOB) for statement identified by statement_id. The param_id
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1910
Methodcmd_stmt_send_long_data
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:468
Functioncmp_result
Compare results (list of tuples) coming from MySQL For certain results, like SHOW VARIABLES or SHOW WARNINGS, the order is unpredictable. To
mysqlx-connector-python/tests/__init__.py:347
Functioncmp_timeout_tolerance
Compares the read/write/connection timeout expected against a tolerance, i.e., an expected margin of error between the 2 timeout values in se
mysql-connector-python/tests/__init__.py:930
Functioncnx_aio_config
(**extra_config)
mysql-connector-python/tests/__init__.py:511
Functioncnx_config
(**extra_config)
mysql-connector-python/tests/__init__.py:495
Methodcollation
Returns the collation for current connection. This property returns the collation name of the current connection. The server is queri
mysql-connector-python/lib/mysql/connector/abstracts.py:1305
Methodcollation
Returns the collation for current connection. This property returns the collation name of the current connection. The server is queri
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1115
Methodcollation_name
str: The collation name. .. versionadded:: 8.0.12
mysqlx-connector-python/lib/mysqlx/result.py:674
Methodcolumn_label
str: The column label. .. versionadded:: 8.0.12
mysqlx-connector-python/lib/mysqlx/result.py:642
Methodcolumn_name
str: The column name. .. versionadded:: 8.0.12
mysqlx-connector-python/lib/mysqlx/result.py:634
Methodcolumn_names
Returns column names This property returns the columns names as a tuple. Returns a tuple.
mysql-connector-python/lib/mysql/connector/cursor_cext.py:785
Methodcolumn_names
Returns column names This property returns the columns names as a tuple. Returns a tuple.
mysql-connector-python/lib/mysql/connector/cursor.py:870
Methodcolumn_names
Returns column names. This property returns the columns names as a tuple.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2251
Methodcolumns
`list`: The list of columns.
mysqlx-connector-python/lib/mysqlx/result.py:1104
Methodcommit
Commit current transaction
mysql-connector-python/lib/mysql/connector/connection_cext.py:601
Methodcommit
Commits current transaction. This method is part of PEP 249 - Python Database API Specification v2.0. This method sends a COMMIT sta
mysql-connector-python/lib/mysql/connector/abstracts.py:1724
Methodcommit
Commit current transaction.
mysql-connector-python/lib/mysql/connector/aio/connection.py:988
Methodcommit
Commit current transaction.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1664
Methodcommit
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:372
Functioncommon_int_cast
mysqlx-connector-python/src/mysqlxpb/python_cast.h:53
Methodcompressed_packet_incomplete_at_last
When receiving a compressed packet as the first step we need to decompress the payload. After step 1, the payload might contain a seq
mysql-connector-python/tests/test_bugs.py:7478
Methodcompression_algorithm
str: The compresion algorithm.
mysqlx-connector-python/lib/mysqlx/protocol.py:345
Methodconfig
Configuration is done through the pool. For pooled connections, the `config()` method raises a `PoolError` exception. Configuration fo
mysql-connector-python/lib/mysql/connector/aio/pooling.py:384
Functionconfig_initiated
(app, config)
mysqlx-connector-python/docs/mysqlx/_themes/sphinx_rtd_theme/__init__.py:26
Methodconn_setup
(*args, **kwargs)
mysql-connector-python/tests/test_django.py:373
Methodconnc_connect_args
Get connection arguments for the MySQL C API Get the connection arguments suitable for the MySQL C API from the Connector/Python argu
mysql-connector-python/tests/__init__.py:798
Methodconnect
Connects to a TCP service. Args: params (tuple): The connection parameters. Raises: :class:`mysqlx.Interface
mysqlx-connector-python/lib/mysqlx/connection.py:277
Methodconnection_id
MySQL connection ID
mysql-connector-python/lib/mysql/connector/connection.py:1366
Methodconnection_id
MySQL connection ID
mysql-connector-python/lib/mysql/connector/connection_cext.py:472
Methodconnection_id
MySQL connection ID.
mysql-connector-python/lib/mysql/connector/abstracts.py:1538
Methodconnection_id
MySQL connection ID.
mysql-connector-python/lib/mysql/connector/aio/connection.py:125
Methodconnection_id
MySQL connection ID.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:751
Methodconverter_class
Gets the converter class set for the current session.
mysql-connector-python/lib/mysql/connector/abstracts.py:1939
Methodconverter_class
Gets the converter class set for the current session.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1439
Methodcount
int: The total of items.
mysqlx-connector-python/lib/mysqlx/result.py:993
Methodcount
Counts the documents in the collection. Returns: int: The total of documents in the collection.
mysqlx-connector-python/lib/mysqlx/crud.py:539
Methodcount_conn
(self, *args, **kwargs)
mysql-connector-python/tests/test_django.py:389
Methodcreate_cursor
(self, name: Any = None)
mysql-connector-python/lib/mysql/connector/django/base.py:438
Methodcreate_table
(charset)
mysql-connector-python/tests/cext/test_cext_api.py:761
Methodcreate_table
()
mysql-connector-python/tests/qa/test_qa_local_infile.py:127
Methodcreate_table
()
mysql-connector-python/tests/qa/test_qa_local_infile.py:476
Methodcursor
Instantiates and returns a cursor. By default, `MySQLCursor` or `CMySQLCursor` is returned. Depending on the options while connecting
mysql-connector-python/lib/mysql/connector/abstracts.py:1744
Methodcursor
Wraps the object method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:358
Functioncustom_error_exception
Defines custom exceptions for MySQL server errors. This function defines custom exceptions for MySQL server errors and returns the current se
mysql-connector-python/lib/mysql/connector/errors.py:206
Methoddata_type_check_constraints
Mapping of Field objects to their SQL for CHECK constraints.
mysql-connector-python/lib/mysql/connector/django/base.py:539
Methoddatabase
Get the current database
mysql-connector-python/lib/mysql/connector/connection.py:1256
Methoddatabase
Get the current database
mysql-connector-python/lib/mysql/connector/connection_cext.py:250
Methoddatabase
The current database.
mysql-connector-python/lib/mysql/connector/abstracts.py:530
Methoddatabase
Get the current database.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:775
Methoddatabase
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:428
Functiondate_to_mysql
Convert a Python datetime.date to MySQL DATE. Convert a Python datetime.date to MySQL DATE using the pytomy_date()function. date_to_mysql() is
mysql-connector-python/src/mysql_capi_conversion.c:618
Functiondatetime_from_protobuf
(payload: bytes)
mysqlx-connector-python/lib/mysqlx/result.py:180
Methoddeallocate_prepare_execute
bool: `True` to deallocate + prepare + execute statement.
mysqlx-connector-python/lib/mysqlx/statement.py:221
Functiondecimal_from_protobuf
(payload: bytes)
mysqlx-connector-python/lib/mysqlx/result.py:144
Functiondecorate
Decorate function.
mysqlx-connector-python/lib/mysqlx/helpers.py:163
Functiondecorator
(test)
mysqlx-connector-python/tests/__init__.py:599
Functiondecorator
(cmd_refresh: Callable)
mysql-connector-python/lib/mysql/connector/_decorating.py:46
Functiondecorator
(cmd_refresh: Callable)
mysql-connector-python/lib/mysql/connector/aio/_decorating.py:47
Functiondecorator
(test)
mysql-connector-python/tests/__init__.py:961
← previousnext →2,001–2,100 of 5,006, ranked by callers