Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mysql/mysql-connector-python
/ functions
Functions
5,006 in github.com/mysql/mysql-connector-python
⨍
Functions
5,006
◇
Types & classes
734
↳
Endpoints
17
Method
cmd_quit
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:397
Method
cmd_refresh
(self, options: int)
mysql-connector-python/lib/mysql/connector/connection_cext.py:1030
Method
cmd_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
Method
cmd_refresh
(self, options: int)
mysql-connector-python/lib/mysql/connector/aio/connection.py:1364
Method
cmd_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
Method
cmd_refresh
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:392
Function
cmd_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
Function
cmd_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
Method
cmd_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
Method
cmd_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
Method
cmd_reset_connection
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:478
Method
cmd_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
Method
cmd_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
Method
cmd_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
Method
cmd_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
Method
cmd_shutdown
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:402
Method
cmd_statistics
Return statistics from the MySQL server
mysql-connector-python/lib/mysql/connector/connection_cext.py:1073
Method
cmd_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
Method
cmd_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
Method
cmd_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
Method
cmd_statistics
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:407
Method
cmd_stmt_close
Closes the prepared statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:718
Method
cmd_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
Method
cmd_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
Method
cmd_stmt_close
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:463
Method
cmd_stmt_execute
Executes the prepared statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:693
Method
cmd_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
Method
cmd_stmt_execute
Execute a prepared MySQL statement.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1853
Method
cmd_stmt_execute
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:458
Method
cmd_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
Method
cmd_stmt_prepare
Prepares the SQL statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:672
Method
cmd_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
Method
cmd_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
Method
cmd_stmt_prepare
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:453
Method
cmd_stmt_reset
Resets the prepared statement
mysql-connector-python/lib/mysql/connector/connection_cext.py:735
Method
cmd_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
Method
cmd_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
Method
cmd_stmt_reset
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:473
Method
cmd_stmt_send_long_data
Send data for a column
mysql-connector-python/lib/mysql/connector/connection_cext.py:1105
Method
cmd_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
Method
cmd_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
Method
cmd_stmt_send_long_data
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:468
Function
cmp_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
Function
cmp_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
Function
cnx_aio_config
(**extra_config)
mysql-connector-python/tests/__init__.py:511
Function
cnx_config
(**extra_config)
mysql-connector-python/tests/__init__.py:495
Method
collation
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
Method
collation
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
Method
collation_name
str: The collation name. .. versionadded:: 8.0.12
mysqlx-connector-python/lib/mysqlx/result.py:674
Method
column_label
str: The column label. .. versionadded:: 8.0.12
mysqlx-connector-python/lib/mysqlx/result.py:642
Method
column_name
str: The column name. .. versionadded:: 8.0.12
mysqlx-connector-python/lib/mysqlx/result.py:634
Method
column_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
Method
column_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
Method
column_names
Returns column names. This property returns the columns names as a tuple.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2251
Method
columns
`list`: The list of columns.
mysqlx-connector-python/lib/mysqlx/result.py:1104
Method
commit
Commit current transaction
mysql-connector-python/lib/mysql/connector/connection_cext.py:601
Method
commit
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
Method
commit
Commit current transaction.
mysql-connector-python/lib/mysql/connector/aio/connection.py:988
Method
commit
Commit current transaction.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1664
Method
commit
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:372
Function
common_int_cast
mysqlx-connector-python/src/mysqlxpb/python_cast.h:53
Method
compressed_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
Method
compression_algorithm
str: The compresion algorithm.
mysqlx-connector-python/lib/mysqlx/protocol.py:345
Method
config
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
Function
config_initiated
(app, config)
mysqlx-connector-python/docs/mysqlx/_themes/sphinx_rtd_theme/__init__.py:26
Method
conn_setup
(*args, **kwargs)
mysql-connector-python/tests/test_django.py:373
Method
connc_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
Method
connect
Connects to a TCP service. Args: params (tuple): The connection parameters. Raises: :class:`mysqlx.Interface
mysqlx-connector-python/lib/mysqlx/connection.py:277
Method
connection_id
MySQL connection ID
mysql-connector-python/lib/mysql/connector/connection.py:1366
Method
connection_id
MySQL connection ID
mysql-connector-python/lib/mysql/connector/connection_cext.py:472
Method
connection_id
MySQL connection ID.
mysql-connector-python/lib/mysql/connector/abstracts.py:1538
Method
connection_id
MySQL connection ID.
mysql-connector-python/lib/mysql/connector/aio/connection.py:125
Method
connection_id
MySQL connection ID.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:751
Method
converter_class
Gets the converter class set for the current session.
mysql-connector-python/lib/mysql/connector/abstracts.py:1939
Method
converter_class
Gets the converter class set for the current session.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1439
Method
count
int: The total of items.
mysqlx-connector-python/lib/mysqlx/result.py:993
Method
count
Counts the documents in the collection. Returns: int: The total of documents in the collection.
mysqlx-connector-python/lib/mysqlx/crud.py:539
Method
count_conn
(self, *args, **kwargs)
mysql-connector-python/tests/test_django.py:389
Method
create_cursor
(self, name: Any = None)
mysql-connector-python/lib/mysql/connector/django/base.py:438
Method
create_table
(charset)
mysql-connector-python/tests/cext/test_cext_api.py:761
Method
create_table
()
mysql-connector-python/tests/qa/test_qa_local_infile.py:127
Method
create_table
()
mysql-connector-python/tests/qa/test_qa_local_infile.py:476
Method
cursor
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
Method
cursor
Wraps the object method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:358
Function
custom_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
Method
data_type_check_constraints
Mapping of Field objects to their SQL for CHECK constraints.
mysql-connector-python/lib/mysql/connector/django/base.py:539
Method
database
Get the current database
mysql-connector-python/lib/mysql/connector/connection.py:1256
Method
database
Get the current database
mysql-connector-python/lib/mysql/connector/connection_cext.py:250
Method
database
The current database.
mysql-connector-python/lib/mysql/connector/abstracts.py:530
Method
database
Get the current database.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:775
Method
database
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:428
Function
date_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
Function
datetime_from_protobuf
(payload: bytes)
mysqlx-connector-python/lib/mysqlx/result.py:180
Method
deallocate_prepare_execute
bool: `True` to deallocate + prepare + execute statement.
mysqlx-connector-python/lib/mysqlx/statement.py:221
Function
decimal_from_protobuf
(payload: bytes)
mysqlx-connector-python/lib/mysqlx/result.py:144
Function
decorate
Decorate function.
mysqlx-connector-python/lib/mysqlx/helpers.py:163
Function
decorator
(test)
mysqlx-connector-python/tests/__init__.py:599
Function
decorator
(cmd_refresh: Callable)
mysql-connector-python/lib/mysql/connector/_decorating.py:46
Function
decorator
(cmd_refresh: Callable)
mysql-connector-python/lib/mysql/connector/aio/_decorating.py:47
Function
decorator
(test)
mysql-connector-python/tests/__init__.py:961
← previous
next →
2,001–2,100 of 5,006, ranked by callers