MCPcopy Create free account

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

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

↓ 1 callersFunctionproduct_of
(old_list, new_list)
mysqlx-connector-python/tests/__init__.py:764
↓ 1 callersFunctionproduct_of
(old_list, new_list)
mysql-connector-python/tests/__init__.py:1308
↓ 1 callersFunctionpytomy_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 callersMethodquery_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 callersMethodquery_attrs_clear
Clears query attributes list on the connector's side.
mysql-connector-python/lib/mysql/connector/abstracts.py:328
↓ 1 callersMethodquery_attrs_clear
Clears query attributes list on the connector's side.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1501
↓ 1 callersMethodquery_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 callersMethodqueue_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 callersFunctionquote_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 callersMethodread
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 callersMethodread_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 callersMethodread_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 callersFunctionread_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 callersFunctionread_int
Read an integer from buffer. Returns a tuple (truncated buffer, int).
mysqlx-connector-python/lib/mysqlx/errors.py:133
↓ 1 callersFunctionread_int
Read an integer from buffer Returns a tuple (truncated buffer, int)
mysql-connector-python/lib/mysql/connector/utils.py:328
↓ 1 callersMethodread_row
Read row. Args: result (Result): A `Result` based type object.
mysqlx-connector-python/lib/mysqlx/protocol.py:1103
↓ 1 callersMethodread_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 callersMethodread_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 callersMethodreconnect
Reconnect this connection.
mysqlx-connector-python/lib/mysqlx/connection.py:1488
↓ 1 callersMethodrecv_into
(self, buffer_, nbytes=0, flags=0)
mysql-connector-python/tests/__init__.py:165
↓ 1 callersMethodrefresh_collections
(self, span: Dict[str, Any])
mysql-connector-python/tests/otel/collector.py:180
↓ 1 callersMethodremove
(self)
mysqlx-connector-python/tests/mysqld.py:928
↓ 1 callersMethodremove
(self)
mysql-connector-python/tests/mysqld.py:928
↓ 1 callersMethodremove_cursor
Remove cursor from the weakref set.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1533
↓ 1 callersMethodremove_temp
Remove temporary build files.
mysqlx-connector-python/cpydist/__init__.py:241
↓ 1 callersMethodremove_temp
Remove temporary build files.
mysql-connector-python/cpydist/__init__.py:214
↓ 1 callersMethodreset
(self)
mysqlx-connector-python/tests/__init__.py:196
↓ 1 callersMethodreset
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 callersMethodreset
(self, free: bool = True)
mysql-connector-python/lib/mysql/connector/cursor.py:931
↓ 1 callersMethodreset
Reset the cursor to default.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:866
↓ 1 callersMethodreset
(self, free: bool = True)
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1057
↓ 1 callersMethodreset_session
Reset a sucessfully authenticated session.
mysqlx-connector-python/lib/mysqlx/connection.py:1413
↓ 1 callersMethodreset_session
Returns whether to reset session.
mysql-connector-python/lib/mysql/connector/pooling.py:504
↓ 1 callersMethodreset_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 callersMethodrow_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 callersMethodrun
(self, result=None)
mysqlx-connector-python/tests/__init__.py:560
↓ 1 callersMethodscore
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 callersMethodsend_auth_continue_server
Send Server authenticate continue. Args: auth_data (str): Authentication data.
mysqlx-connector-python/tests/test_mysqlx_connection.py:481
↓ 1 callersMethodsend_auth_ok
Send authenticate OK.
mysqlx-connector-python/tests/test_mysqlx_connection.py:493
↓ 1 callersMethodsend_close
Send close.
mysqlx-connector-python/lib/mysqlx/protocol.py:1172
↓ 1 callersMethodsend_connection_close
Send connection close.
mysqlx-connector-python/lib/mysqlx/protocol.py:1165
↓ 1 callersMethodsend_expect_open
Send expectation.
mysqlx-connector-python/lib/mysqlx/protocol.py:1179
↓ 1 callersMethodsend_find
Send an find statement. Args: statement (`Statement`): It can be :class:`mysqlx.SelectStatement`
mysqlx-connector-python/lib/mysqlx/connection.py:1192
↓ 1 callersMethodsend_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 callersMethodsend_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 callersMethodsend_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 callersMethodsendall
(self, string, flags=0)
mysql-connector-python/tests/__init__.py:193
↓ 1 callersMethodserialize_message
Serialize message. Args: msg (object): Protobuf message. Returns: bytes: Serialized message
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:306
↓ 1 callersMethodserialize_partial_message
Serialize partial message. Args: msg (object): Protobuf message. Returns: bytes: Serialized
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:318
↓ 1 callersMethodsetUp
(self)
mysql-connector-python/tests/__init__.py:833
↓ 1 callersMethodset_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 callersMethodset_available
Sets this pool available for pool connections from it. .. versionadded:: 8.0.20
mysqlx-connector-python/lib/mysqlx/connection.py:1707
↓ 1 callersMethodset_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 callersMethodset_closed
Sets if resultset fetch is done.
mysqlx-connector-python/lib/mysqlx/result.py:893
↓ 1 callersMethodset_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 callersMethodset_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 callersMethodset_generated_ids
Sets the generated ids.
mysqlx-connector-python/lib/mysqlx/result.py:907
↓ 1 callersMethodset_generated_insert_id
Sets the generated insert id.
mysqlx-connector-python/lib/mysqlx/result.py:911
↓ 1 callersMethodset_has_data
Sets if result has data. Args: flag (bool): `True` if result has data.
mysqlx-connector-python/lib/mysqlx/result.py:1079
↓ 1 callersMethodset_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 callersMethodset_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 callersMethodset_rows_affected
Sets the number of rows affected.
mysqlx-connector-python/lib/mysqlx/result.py:915
↓ 1 callersMethodset_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 callersMethodset_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 callersMethodset_time_zone
Sets the time zone.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:983
↓ 1 callersMethodset_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 callersMethodsettings_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 callersMethodsetup_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 callersFunctionsetup_stats_db
Setup the database for storing statistics
mysql-connector-python/unittests.py:691
↓ 1 callersMethodshutdown
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 callersMethodsplit_by_control_char_or_white_space
Split `string` by any control character or whitespace.
mysql-connector-python/lib/mysql/connector/_scripting.py:120
↓ 1 callersMethodstar_operator
()
mysqlx-connector-python/lib/mysqlx/expr.py:1055
↓ 1 callersMethodstart
(self, **kwargs)
mysqlx-connector-python/tests/mysqld.py:922
↓ 1 callersMethodstart
(self, **kwargs)
mysql-connector-python/tests/mysqld.py:922
↓ 1 callersMethodstart_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 callersMethodstart_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 callersMethodstop
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 callersMethodstop
(self)
mysqlx-connector-python/tests/mysqld.py:925
↓ 1 callersMethodstop
(self)
mysql-connector-python/tests/mysqld.py:925
↓ 1 callersMethodswitch_to_compressed_mode
Enable network layer where transactions are made with compressed packets.
mysql-connector-python/lib/mysql/connector/aio/network.py:595
↓ 1 callersMethodswitch_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 callersMethodswitch_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 callersMethodtearDown
(self)
mysql-connector-python/tests/__init__.py:840
↓ 1 callersMethodtest_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 callersMethodtest_simple_stmts
Test context propagation via query attributes for `cmd_query`.
mysql-connector-python/tests/otel/context_propagation/sanity_check.py:238
↓ 1 callersFunctiontest_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 callersFunctiontest_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 callersMethodtest_two_concurrent_cnxs
(self, prepared=False, app_span_name="concurrent_cnxs")
mysql-connector-python/tests/otel/context_propagation/concurrency_check.py:111
↓ 1 callersFunctiontime_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 callersMethodto_mysql
Convert Python data type to MySQL
mysql-connector-python/lib/mysql/connector/conversion.py:109
↓ 1 callersMethodto_python
Convert MySQL data type to Python
mysql-connector-python/lib/mysql/connector/conversion.py:122
↓ 1 callersMethoduninstrument_connection
Disable instrumentation in a MySQL connection. Args: connection: instrumented connection instance. Returns:
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:658
↓ 1 callersMethodupdate_config
(self, **kwargs)
mysqlx-connector-python/tests/mysqld.py:647
↓ 1 callersMethodupdate_config
(self, **kwargs)
mysql-connector-python/tests/mysqld.py:647
↓ 1 callersMethodupsert
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 callersMethodvalue_to_db_datetime
Convert value to MySQL DATETIME.
mysql-connector-python/lib/mysql/connector/django/operations.py:71
↓ 1 callersMethodvalue_to_db_time
Convert value to MySQL TIME.
mysql-connector-python/lib/mysql/connector/django/operations.py:93
↓ 1 callersMethodversion
Returns the MySQL server version Returns a tuple.
mysql-connector-python/tests/mysqld.py:313
↓ 1 callersMethodwait_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 callersMethodwait_down
(self, tries=10, delay=1)
mysqlx-connector-python/tests/mysqld.py:940
← previousnext →1,401–1,500 of 5,006, ranked by callers