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
↓ 1 callers
Function
product_of
(old_list, new_list)
mysqlx-connector-python/tests/__init__.py:764
↓ 1 callers
Function
product_of
(old_list, new_list)
mysql-connector-python/tests/__init__.py:1308
↓ 1 callers
Function
pytomy_timedelta
Convert a Python datetime.timedelta to MySQL TIME. Convert the PyObject obj, which must be a datetime.timedelta, to MySQL TIME value. Raises T
mysql-connector-python/src/mysql_capi_conversion.c:188
↓ 1 callers
Method
query_attrs_append
Adds element to the query attributes list on the connector's side. If an element in the query attributes list already matches the att
mysql-connector-python/lib/mysql/connector/abstracts.py:305
↓ 1 callers
Method
query_attrs_clear
Clears query attributes list on the connector's side.
mysql-connector-python/lib/mysql/connector/abstracts.py:328
↓ 1 callers
Method
query_attrs_clear
Clears query attributes list on the connector's side.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1501
↓ 1 callers
Method
query_attrs_remove
Removes element by name from the query attributes list on the connector's side. If no match, `None` is returned, else the corresponding value
mysql-connector-python/lib/mysql/connector/abstracts.py:318
↓ 1 callers
Method
queue_connection
Put connection back in the queue: This method is putting a connection back in the queue. It will not acquire a lock as the methods us
mysqlx-connector-python/lib/mysqlx/connection.py:1652
↓ 1 callers
Function
quote_identifier
Quote the given identifier with backticks, converting backticks (`) in the identifier name with the correct escape sequence (``). Args:
mysqlx-connector-python/lib/mysqlx/statement.py:91
↓ 1 callers
Method
read
Read and parse a filename or a list of filenames. Overridden from ConfigParser and modified so as to allow options which are not insi
mysql-connector-python/lib/mysql/connector/optionfiles.py:219
↓ 1 callers
Method
read_binary_result
Read MySQL binary protocol result Reads all or given number of binary resultset rows from the socket.
mysql-connector-python/lib/mysql/connector/protocol.py:824
↓ 1 callers
Method
read_binary_result
Read MySQL binary protocol result. Reads all or given number of binary resultset rows from the socket.
mysql-connector-python/lib/mysql/connector/aio/protocol.py:242
↓ 1 callers
Function
read_bytes
Reads bytes from a buffer. Returns a tuple with buffer less the read bytes, and the bytes.
mysqlx-connector-python/lib/mysqlx/errors.py:142
↓ 1 callers
Function
read_int
Read an integer from buffer. Returns a tuple (truncated buffer, int).
mysqlx-connector-python/lib/mysqlx/errors.py:133
↓ 1 callers
Function
read_int
Read an integer from buffer Returns a tuple (truncated buffer, int)
mysql-connector-python/lib/mysql/connector/utils.py:328
↓ 1 callers
Method
read_row
Read row. Args: result (Result): A `Result` based type object.
mysqlx-connector-python/lib/mysqlx/protocol.py:1103
↓ 1 callers
Method
read_text_result
Read MySQL text result Reads all or given number of rows from the socket. Returns a tuple with 2 elements: a list with all rows and
mysql-connector-python/lib/mysql/connector/protocol.py:615
↓ 1 callers
Method
read_text_result
Read MySQL text result. Reads all or given number of rows from the socket. Returns a tuple with 2 elements: a list with all rows and
mysql-connector-python/lib/mysql/connector/aio/protocol.py:279
↓ 1 callers
Method
reconnect
Reconnect this connection.
mysqlx-connector-python/lib/mysqlx/connection.py:1488
↓ 1 callers
Method
recv_into
(self, buffer_, nbytes=0, flags=0)
mysql-connector-python/tests/__init__.py:165
↓ 1 callers
Method
refresh_collections
(self, span: Dict[str, Any])
mysql-connector-python/tests/otel/collector.py:180
↓ 1 callers
Method
remove
(self)
mysqlx-connector-python/tests/mysqld.py:928
↓ 1 callers
Method
remove
(self)
mysql-connector-python/tests/mysqld.py:928
↓ 1 callers
Method
remove_cursor
Remove cursor from the weakref set.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1533
↓ 1 callers
Method
remove_temp
Remove temporary build files.
mysqlx-connector-python/cpydist/__init__.py:241
↓ 1 callers
Method
remove_temp
Remove temporary build files.
mysql-connector-python/cpydist/__init__.py:214
↓ 1 callers
Method
reset
(self)
mysqlx-connector-python/tests/__init__.py:196
↓ 1 callers
Method
reset
Resets the prepared statement. Args: free: If `True`, the result will be freed. preserve_last_executed_stmt: If `Fals
mysql-connector-python/lib/mysql/connector/cursor_cext.py:1074
↓ 1 callers
Method
reset
(self, free: bool = True)
mysql-connector-python/lib/mysql/connector/cursor.py:931
↓ 1 callers
Method
reset
Reset the cursor to default.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:866
↓ 1 callers
Method
reset
(self, free: bool = True)
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1057
↓ 1 callers
Method
reset_session
Reset a sucessfully authenticated session.
mysqlx-connector-python/lib/mysqlx/connection.py:1413
↓ 1 callers
Method
reset_session
Returns whether to reset session.
mysql-connector-python/lib/mysql/connector/pooling.py:504
↓ 1 callers
Method
reset_session
Clears the current active session This method resets the session state, if the MySQL server is 5.7.3 or later active session will be
mysql-connector-python/lib/mysql/connector/aio/connection.py:708
↓ 1 callers
Method
row_to_python
Convert a MySQL text result row to Python types The row argument is a sequence containing text result returned by a MySQL server. Eac
mysql-connector-python/lib/mysql/connector/conversion.py:482
↓ 1 callers
Method
run
(self, result=None)
mysqlx-connector-python/tests/__init__.py:560
↓ 1 callers
Method
score
Score the transformed data using the backend scoring interface. Args: X: Transformed features. y: Target lab
mysql-connector-python/lib/mysql/ai/ml/transformer.py:139
↓ 1 callers
Method
send_auth_continue_server
Send Server authenticate continue. Args: auth_data (str): Authentication data.
mysqlx-connector-python/tests/test_mysqlx_connection.py:481
↓ 1 callers
Method
send_auth_ok
Send authenticate OK.
mysqlx-connector-python/tests/test_mysqlx_connection.py:493
↓ 1 callers
Method
send_close
Send close.
mysqlx-connector-python/lib/mysqlx/protocol.py:1172
↓ 1 callers
Method
send_connection_close
Send connection close.
mysqlx-connector-python/lib/mysqlx/protocol.py:1165
↓ 1 callers
Method
send_expect_open
Send expectation.
mysqlx-connector-python/lib/mysqlx/protocol.py:1179
↓ 1 callers
Method
send_find
Send an find statement. Args: statement (`Statement`): It can be :class:`mysqlx.SelectStatement`
mysqlx-connector-python/lib/mysqlx/connection.py:1192
↓ 1 callers
Method
send_prepare_prepare
Send prepare statement. Args: msg_type (str): Message ID string. msg (mysqlx.protobuf.Message): MySQL X Prot
mysqlx-connector-python/lib/mysqlx/protocol.py:717
↓ 1 callers
Method
send_reset
Send reset session message. Returns: boolean: ``True`` if the server will keep the session open, otherwise `
mysqlx-connector-python/lib/mysqlx/protocol.py:1193
↓ 1 callers
Method
send_sql
Execute a SQL statement. Args: sql (str): The SQL statement. Raises: :class:`mysqlx.ProgrammingError`: If th
mysqlx-connector-python/lib/mysqlx/connection.py:1152
↓ 1 callers
Method
sendall
(self, string, flags=0)
mysql-connector-python/tests/__init__.py:193
↓ 1 callers
Method
serialize_message
Serialize message. Args: msg (object): Protobuf message. Returns: bytes: Serialized message
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:306
↓ 1 callers
Method
serialize_partial_message
Serialize partial message. Args: msg (object): Protobuf message. Returns: bytes: Serialized
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:318
↓ 1 callers
Method
setUp
(self)
mysql-connector-python/tests/__init__.py:833
↓ 1 callers
Method
set_active_result
Set active result. Args: `Result`: It can be :class:`mysqlx.Result`, :class:`mysqlx.BufferingResult`,
mysqlx-connector-python/lib/mysqlx/connection.py:758
↓ 1 callers
Method
set_available
Sets this pool available for pool connections from it. .. versionadded:: 8.0.20
mysqlx-connector-python/lib/mysqlx/connection.py:1707
↓ 1 callers
Method
set_charset_collation
Set the character set and collation for the current connection. This method sets the character set and collation to be used for the current
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1215
↓ 1 callers
Method
set_closed
Sets if resultset fetch is done.
mysqlx-connector-python/lib/mysqlx/result.py:893
↓ 1 callers
Method
set_compression
Sets the compression algorithm to be used by the compression object, for uplink and downlink. Args: algorithm (str): Algo
mysqlx-connector-python/lib/mysqlx/protocol.py:567
↓ 1 callers
Method
set_config
Set the connection configuration for `MySQLConnectionAbstract` subclass instances. This method sets the configuration used for creating `MySQL
mysql-connector-python/lib/mysql/connector/aio/pooling.py:499
↓ 1 callers
Method
set_generated_ids
Sets the generated ids.
mysqlx-connector-python/lib/mysqlx/result.py:907
↓ 1 callers
Method
set_generated_insert_id
Sets the generated insert id.
mysqlx-connector-python/lib/mysqlx/result.py:911
↓ 1 callers
Method
set_has_data
Sets if result has data. Args: flag (bool): `True` if result has data.
mysqlx-connector-python/lib/mysqlx/result.py:1079
↓ 1 callers
Method
set_has_more_results
Sets if has more results. Args: flag (bool): `True` if has more results.
mysqlx-connector-python/lib/mysqlx/result.py:1087
↓ 1 callers
Method
set_mysql_major_version
Set the MySQL major version. Sets what tuple should be used based on the MySQL major version to store the list of character sets and
mysql-connector-python/lib/mysql/connector/aio/charsets.py:79
↓ 1 callers
Method
set_rows_affected
Sets the number of rows affected.
mysqlx-connector-python/lib/mysqlx/result.py:915
↓ 1 callers
Method
set_sql_mode
Sets the SQL mode. This method sets the SQL Mode for the current connection. The value argument can be either a string with comma sep
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1021
↓ 1 callers
Method
set_ssl
Set SSL parameters. Args: ssl_protos (list): SSL protocol to use. ssl_mode (str): SSL mode. ssl_ca (str):
mysqlx-connector-python/lib/mysqlx/connection.py:349
↓ 1 callers
Method
set_time_zone
Sets the time zone.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:983
↓ 1 callers
Method
set_use_pure
Sets whether to use the C extension or pure Python implementation. Args: use_pure (bool): `True` to use pure Python implementatio
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:405
↓ 1 callers
Method
settings_to_cmd_args_env
( cls, settings_dict: Dict[str, Any], parameters: Optional[Iterable[str]] = None )
mysql-connector-python/lib/mysql/connector/django/client.py:45
↓ 1 callers
Method
setup_ssl
Sets up an SSL communication channel. Args: sock: Pointer to the socket connection. host: Server host name.
mysql-connector-python/lib/mysql/connector/authentication.py:91
↓ 1 callers
Function
setup_stats_db
Setup the database for storing statistics
mysql-connector-python/unittests.py:691
↓ 1 callers
Method
shutdown
Shut down connection to MySQL Server. This method closes the socket. It raises no exceptions. Unlike `disconnect()`, `shutdown()` cl
mysql-connector-python/lib/mysql/connector/connection.py:433
↓ 1 callers
Method
split_by_control_char_or_white_space
Split `string` by any control character or whitespace.
mysql-connector-python/lib/mysql/connector/_scripting.py:120
↓ 1 callers
Method
star_operator
()
mysqlx-connector-python/lib/mysqlx/expr.py:1055
↓ 1 callers
Method
start
(self, **kwargs)
mysqlx-connector-python/tests/mysqld.py:922
↓ 1 callers
Method
start
(self, **kwargs)
mysql-connector-python/tests/mysqld.py:922
↓ 1 callers
Method
start_receive
Opens a socket to comunicate to the given host, port Args: host (str): host name. port (int): host port. Retu
mysqlx-connector-python/tests/test_mysqlx_connection.py:457
↓ 1 callers
Method
start_tls
Upgrade an existing stream-based connection to TLS. Args: ssl_context: Configured SSL context. server_hostname: Serve
mysql-connector-python/lib/mysql/connector/aio/utils.py:79
↓ 1 callers
Method
stop
Stop the MySQL server Stop the MySQL server and returns whether it was successful or not. This method stops the process and exits wh
mysqlx-connector-python/tests/mysqld.py:724
↓ 1 callers
Method
stop
(self)
mysqlx-connector-python/tests/mysqld.py:925
↓ 1 callers
Method
stop
(self)
mysql-connector-python/tests/mysqld.py:925
↓ 1 callers
Method
switch_to_compressed_mode
Enable network layer where transactions are made with compressed packets.
mysql-connector-python/lib/mysql/connector/aio/network.py:595
↓ 1 callers
Method
switch_to_ssl
Upgrade an existing connection to TLS. Args: ssl_context (ssl.SSLContext): The SSL Context to be used. host (str): Se
mysql-connector-python/lib/mysql/connector/network.py:492
↓ 1 callers
Method
switch_to_ssl
Upgrade an existing stream-based connection to TLS. The `start_tls()` method from `asyncio.streams.StreamWriter` is only available in
mysql-connector-python/lib/mysql/connector/aio/network.py:599
↓ 1 callers
Method
tearDown
(self)
mysql-connector-python/tests/__init__.py:840
↓ 1 callers
Method
test_prepared_stmt
( self, app_span_name="cmd_stmt_execute", with_app_span=True, with_otel_contex
mysql-connector-python/tests/otel/context_propagation/sanity_check.py:339
↓ 1 callers
Method
test_simple_stmts
Test context propagation via query attributes for `cmd_query`.
mysql-connector-python/tests/otel/context_propagation/sanity_check.py:238
↓ 1 callers
Function
test_skip
Skip test This decorator is used by Python v2.6 code to keep compatible with Python v2.7 (and later) unittest.skip.
mysqlx-connector-python/tests/__init__.py:592
↓ 1 callers
Function
test_skip
Skip test This decorator is used by Python v2.6 code to keep compatible with Python v2.7 (and later) unittest.skip.
mysql-connector-python/tests/__init__.py:954
↓ 1 callers
Method
test_two_concurrent_cnxs
(self, prepared=False, app_span_name="concurrent_cnxs")
mysql-connector-python/tests/otel/context_propagation/concurrency_check.py:111
↓ 1 callers
Function
time_to_mysql
Convert a Python datetime.time to MySQL TIME. Convert a Python datetime.time to MySQL TIME using the pytomy_time()function. time_to_mysql() is
mysql-connector-python/src/mysql_capi_conversion.c:594
↓ 1 callers
Method
to_mysql
Convert Python data type to MySQL
mysql-connector-python/lib/mysql/connector/conversion.py:109
↓ 1 callers
Method
to_python
Convert MySQL data type to Python
mysql-connector-python/lib/mysql/connector/conversion.py:122
↓ 1 callers
Method
uninstrument_connection
Disable instrumentation in a MySQL connection. Args: connection: instrumented connection instance. Returns:
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:658
↓ 1 callers
Method
update_config
(self, **kwargs)
mysqlx-connector-python/tests/mysqld.py:647
↓ 1 callers
Method
update_config
(self, **kwargs)
mysql-connector-python/tests/mysqld.py:647
↓ 1 callers
Method
upsert
Sets the upset flag to the boolean of the value provided. Setting of this flag allows updating of the matched rows/documents with the
mysqlx-connector-python/lib/mysqlx/statement.py:728
↓ 1 callers
Method
value_to_db_datetime
Convert value to MySQL DATETIME.
mysql-connector-python/lib/mysql/connector/django/operations.py:71
↓ 1 callers
Method
value_to_db_time
Convert value to MySQL TIME.
mysql-connector-python/lib/mysql/connector/django/operations.py:93
↓ 1 callers
Method
version
Returns the MySQL server version Returns a tuple.
mysql-connector-python/tests/mysqld.py:313
↓ 1 callers
Method
wait_down
Wait until the MySQL server is down This method can be used to wait until the MySQL server has stopped. True is returned when the MyS
mysqlx-connector-python/tests/mysqld.py:819
↓ 1 callers
Method
wait_down
(self, tries=10, delay=1)
mysqlx-connector-python/tests/mysqld.py:940
← previous
next →
1,401–1,500 of 5,006, ranked by callers