MCPcopy Create free account

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

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

↓ 2 callersMethod_test_2_query_attr_group_send
Test query_attributes are send in group.
mysql-connector-python/tests/test_aio_connection.py:3192
↓ 2 callersMethod_test_3_query_attr_add_attribute_error_bad_name_par
Test 'attributes' setter property invalid name parameter.
mysql-connector-python/tests/test_connection.py:3783
↓ 2 callersMethod_test_3_query_attr_add_attribute_error_bad_name_par
Test 'attributes' setter invalid name parameter.
mysql-connector-python/tests/test_aio_connection.py:3223
↓ 2 callersMethod_test_4_query_attr_add_attribute_error_bad_value_par
Test 'attributes' setter property invalid value parameter.
mysql-connector-python/tests/test_connection.py:3802
↓ 2 callersMethod_test_4_query_attr_add_attribute_error_bad_value_par
Test 'attributes' setter invalid value parameter.
mysql-connector-python/tests/test_aio_connection.py:3242
↓ 2 callersMethod_test_5_query_attr_individual_send_simple_check
Test query_attributes are send individually and simple recover.
mysql-connector-python/tests/test_connection.py:3823
↓ 2 callersMethod_test_5_query_attr_individual_send_simple_check
Test query_attributes are send individually and simple recover.
mysql-connector-python/tests/test_aio_connection.py:3265
↓ 2 callersMethod_test_bigdata
(self)
mysql-connector-python/tests/test_bugs.py:4010
↓ 2 callersMethod_test_callproc_cleanup
(self, cnx)
mysql-connector-python/tests/test_cursor.py:726
↓ 2 callersMethod_test_callproc_cleanup
(self, cnx)
mysql-connector-python/tests/cext/test_cext_cursor.py:328
↓ 2 callersMethod_test_compression_status_cext
(compress)
mysql-connector-python/tests/test_bugs.py:7576
↓ 2 callersMethod_test_giving_ssl_disable_does_not_raise_error
Verify no error with ssl-mode=disable and other TLS or SSL options.
mysqlx-connector-python/tests/test_mysqlx_connection.py:2627
↓ 2 callersMethod_test_open_connection
(self, addr, family, should_raise, force)
mysql-connector-python/tests/test_network.py:454
↓ 2 callersMethod_test_query_attrs_not_supported_behavior
Verify a warning is raised if QA are given but not supported by the server.
mysql-connector-python/tests/test_connection.py:3608
↓ 2 callersMethod_test_query_attrs_not_supported_behavior
Verify a warning is raised if QA are given but not supported by the server.
mysql-connector-python/tests/test_aio_connection.py:3035
↓ 2 callersMethod_test_ssl_modes
(self)
mysql-connector-python/tests/test_bugs.py:4854
↓ 2 callersMethod_test_unnamed_and_named_parameters_are_transmitted
Check the unnamed and named parameters are transmitted.
mysql-connector-python/tests/test_connection.py:4037
↓ 2 callersMethod_timedelta_to_mysql
Converts a timedelta instance to a string suitable for MySQL. The returned string has format: %H:%M:%S Returns a bytes.
mysql-connector-python/lib/mysql/connector/conversion.py:437
↓ 2 callersMethod_validate_connection_options
Validate connection options.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:323
↓ 2 callersFunction_validate_hosts
Validate hosts. Args: settings (dict): Settings dictionary. default_port (int): Default connection port. Raises: :cl
mysqlx-connector-python/lib/mysqlx/connection.py:2882
↓ 2 callersMethod_verify_cert
(self, config)
mysql-connector-python/tests/test_bugs.py:4655
↓ 2 callersMethod_verify_server_name_cnx
(self, use_pure=True)
mysql-connector-python/tests/test_bugs.py:5833
↓ 2 callersMethod_verify_ssl
(self, cnx, ssl_available=True)
mysql-connector-python/tests/test_bugs.py:4836
↓ 2 callersMethod_xor
(bytes1: bytes, bytes2: bytes)
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:98
↓ 2 callersMethod_xor
(bytes1: bytes, bytes2: bytes)
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:98
↓ 2 callersFunctionadapt_datetime_with_timezone_support
Equivalent to DateTimeField.get_db_prep_value. Used only by raw SQL.
mysql-connector-python/lib/mysql/connector/django/base.py:105
↓ 2 callersMethodadd_connection
Adds a connection to the pool. This method instantiates a `MySQLConnection` using the configuration passed when initializing the `MySQ
mysql-connector-python/lib/mysql/connector/aio/pooling.py:568
↓ 2 callersMethodadd_texts
Add a batch of text strings and corresponding metadata to the vector store. Args: texts: List of strings to embed and st
mysql-connector-python/lib/mysql/ai/genai/vector_store.py:230
↓ 2 callersMethodassert_cur_token
(self, token_type: int)
mysqlx-connector-python/lib/mysqlx/expr.py:653
↓ 2 callersMethodauth_more_response
Handles server's `auth more data` response. Args: sock: Pointer to the socket connection. auth_data: Authentication m
mysql-connector-python/lib/mysql/connector/aio/plugins/__init__.py:91
↓ 2 callersMethodauth_more_response
Handles server's `auth more data` response. Args: sock: Pointer to the socket connection. auth_data: Authentication m
mysql-connector-python/lib/mysql/connector/plugins/__init__.py:89
↓ 2 callersMethodauth_response
Make the client's authorization response. Args: auth_data: Authorization data. kwargs: Custom configuration to be pas
mysql-connector-python/lib/mysql/connector/aio/plugins/caching_sha2_password.py:88
↓ 2 callersMethodauth_response
Make the client's authorization response. Args: auth_data: Authorization data. kwargs: Custom configuration to be pas
mysql-connector-python/lib/mysql/connector/plugins/caching_sha2_password.py:87
↓ 2 callersMethodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/__init__.py:110
↓ 2 callersMethodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/__init__.py:108
↓ 2 callersMethodauthenticate
Performs the authentication phase. During re-authentication you must set `is_change_user_request` to True. Args: sock: P
mysql-connector-python/lib/mysql/connector/authentication.py:291
↓ 2 callersMethodauthenticate
Perform the authentication phase. During re-authentication you must set `is_change_user_request` to True. Args: sock: Po
mysql-connector-python/lib/mysql/connector/aio/authentication.py:237
↓ 2 callersMethodbuild_delete
Build delete message. Args: stmt (Statement): A :class:`mysqlx.DeleteStatement` or :class:`mysqlx.R
mysqlx-connector-python/lib/mysqlx/protocol.py:962
↓ 2 callersFunctionbuild_double_scalar
(value: float)
mysqlx-connector-python/lib/mysqlx/expr.py:371
↓ 2 callersMethodbuild_find
Build find/read message. Args: stmt (Statement): A :class:`mysqlx.ReadStatement` or :class:`mysqlx.
mysqlx-connector-python/lib/mysqlx/protocol.py:879
↓ 2 callersFunctionbuild_null_scalar
()
mysqlx-connector-python/lib/mysqlx/expr.py:365
↓ 2 callersFunctionbuild_scalar
(value: BuildScalarTypes)
mysqlx-connector-python/lib/mysqlx/expr.py:330
↓ 2 callersFunctionbuild_string_scalar
(value: StrOrBytes)
mysqlx-connector-python/lib/mysqlx/expr.py:392
↓ 2 callersFunctionbuild_unary_op
(name: str, param: MessageType)
mysqlx-connector-python/lib/mysqlx/expr.py:422
↓ 2 callersMethodbuild_update
Build update message. Args: stmt (Statement): A :class:`mysqlx.ModifyStatement` or :class:`mysqlx.U
mysqlx-connector-python/lib/mysqlx/protocol.py:921
↓ 2 callersMethodcast_data_type_dimension
dimension ::= LPAREN LNUM (, LNUM)? RPAREN
mysqlx-connector-python/lib/mysqlx/expr.py:1035
↓ 2 callersMethodchange
Add an update to the statement setting the field, if it exists at the document path, to the given value. Args: doc_path (
mysqlx-connector-python/lib/mysqlx/statement.py:856
↓ 2 callersMethodcheck_attr
(self, obj, attrname, default)
mysql-connector-python/tests/__init__.py:660
↓ 2 callersFunctioncheck_tls_versions_support
Check whether we can connect with given TLS version Attempts a connection to a server using a specific TLS version but does not verify which
mysqlx-connector-python/tests/__init__.py:732
↓ 2 callersMethodcleanup_table
(self, cnx, tbl="myconnpy_cursor")
mysql-connector-python/tests/__init__.py:865
↓ 2 callersMethodclose
(self)
mysql-connector-python/lib/mysql/connector/aio/connection.py:799
↓ 2 callersMethodclose_session
Close a sucessfully authenticated session.
mysqlx-connector-python/lib/mysqlx/connection.py:1386
↓ 2 callersMethodcmd_init_db
Change the current database. This method changes the current (default) database by sending the INIT_DB command. The result is a dicti
mysql-connector-python/lib/mysql/connector/aio/connection.py:1011
↓ 2 callersMethodcmd_ping
Send the PING command. This method sends the PING command to the MySQL server. It is used to check if the the connection is still val
mysql-connector-python/lib/mysql/connector/aio/connection.py:1492
↓ 2 callersMethodcmd_process_kill
Kill a MySQL process This method send the PROCESS_KILL command to the server along with the process ID. The result is a dictionary wi
mysql-connector-python/lib/mysql/connector/connection.py:1135
↓ 2 callersMethodcmd_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/connection.py:1349
↓ 2 callersMethodcmd_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 numb
mysql-connector-python/lib/mysql/connector/connection.py:1544
↓ 2 callersMethodcmd_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/connection.py:1201
↓ 2 callersMethodcolumn_identifier
(self)
mysqlx-connector-python/lib/mysqlx/expr.py:847
↓ 2 callersMethodconnect
Connect to the MySQL server.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1538
↓ 2 callersMethodconnect_with_db
Prepare database string for handshake response. Args: client_flags: Integer representing client capabilities flags. d
mysql-connector-python/lib/mysql/connector/protocol.py:202
↓ 2 callersFunctioncreate_json_without_id
Create big JSON doc without _id.
mysqlx-connector-python/tests/qa/test_qa_mysqlx_crud_collection_add.py:53
↓ 2 callersMethodcur_token_type_in
(self, *types: int)
mysqlx-connector-python/lib/mysqlx/expr.py:668
↓ 2 callersFunctiondatetime_to_mysql
Convert a Python datetime.datetime to MySQL DATETIME. Convert a Python datetime.datetime to MySQL DATETIME using the pytomy_date()function. da
mysql-connector-python/src/mysql_capi_conversion.c:570
↓ 2 callersMethoddelete
Delete documents by ID. Optionally deletes the vector table if empty after deletions. Args: ids: Optional sequence of do
mysql-connector-python/lib/mysql/ai/genai/vector_store.py:187
↓ 2 callersMethoddeprecation_test_helper
( cls, test_method: Callable, args: Optional[Dict] = None )
mysql-connector-python/tests/qa/test_qa_wl16752.py:47
↓ 2 callersMethoddrop_tables
(self, cnx)
mysql-connector-python/tests/test_mysql_datatypes.py:79
↓ 2 callersMethodenum_value
Return enum value. Args: enum_key (str): Enum key. Returns: int: enum value.
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:294
↓ 2 callersMethodescape
Escape buffer for sending to MySQL
mysql-connector-python/lib/mysql/connector/conversion.py:149
↓ 2 callersFunctionextend_sql_table
Insert all rows from a pandas DataFrame into an existing SQL table. Args: cursor: MySQLCursorAbstract for execution. schema_
mysql-connector-python/lib/mysql/ai/utils/utils.py:336
↓ 2 callersMethodfetchall
Fetches all (or all remaining) rows of a query result set. Returns: If the cursor's subclass is `MySQLCursorDict`, a list of dict
mysql-connector-python/lib/mysql/connector/abstracts.py:2851
↓ 2 callersMethodfetchall
Return all rows of a query result set. Raises: InterfaceError: If there is no result to fetch. Returns: list
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2492
↓ 2 callersMethodfetchone
Return next row of a query result set. Raises: InterfaceError: If there is no result to fetch. Returns: tupl
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2481
↓ 2 callersMethodfrom_server_message
Creates a new server-side message, initialized with parsed data and returns a :class:`mysqlx.protobuf.Message` object. Args:
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:601
↓ 2 callersMethodget_assertion_response
Get assertion from authenticator and return the response. Args: credential_id (Optional[bytearray]): The credential ID.
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_webauthn_client.py:99
↓ 2 callersMethodget_assertion_response
Get assertion from authenticator and return the response. Args: credential_id (Optional[bytearray]): The credential ID.
mysql-connector-python/lib/mysql/connector/plugins/authentication_webauthn_client.py:98
↓ 2 callersFunctionget_auth_plugin
Return authentication class based on plugin name This function returns the class for the authentication plugin plugin_name. The returned clas
mysql-connector-python/lib/mysql/connector/aio/plugins/__init__.py:129
↓ 2 callersMethodget_autocommit
Get whether autocommit is on or off.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:951
↓ 2 callersMethodget_binary_types
Get the list of all binary types
mysql-connector-python/lib/mysql/connector/constants.py:498
↓ 2 callersMethodget_bindings
Returns the bindings list. Returns: `list`: The bindings list.
mysqlx-connector-python/lib/mysqlx/statement.py:630
↓ 2 callersMethodget_bit_info
Get the name of all bits set Returns a list of strings.
mysql-connector-python/lib/mysql/connector/constants.py:376
↓ 2 callersMethodget_by_collation
Get character set by collation. Args: collation: The collation name. Returns: Charset: The Charset dataclass
mysql-connector-python/lib/mysql/connector/aio/charsets.py:121
↓ 2 callersMethodget_by_name_and_collation
Get character set by name and collation. Args: name: The charset name. collation: The collation name. Return
mysql-connector-python/lib/mysql/connector/aio/charsets.py:154
↓ 2 callersMethodget_clean_mysql_config
(self)
mysql-connector-python/tests/__init__.py:763
↓ 2 callersMethodget_collections
Returns a list of collections for this schema. Returns: `list`: List of Collection objects.
mysqlx-connector-python/lib/mysqlx/crud.py:200
↓ 2 callersMethodget_column_label
Returns the column label. Returns: str: The column label.
mysqlx-connector-python/lib/mysqlx/result.py:721
↓ 2 callersMethodget_connection_id
(self, cursor)
mysql-connector-python/tests/test_pep249.py:60
↓ 2 callersMethodget_default_collation
Retrieves the default collation for given character set Raises ProgrammingError when character set is not supported. Returns list (c
mysql-connector-python/lib/mysql/connector/constants.py:1016
↓ 2 callersMethodget_fractional_digits
Returns the column fractional digits. Returns: int: The column fractional digits.
mysqlx-connector-python/lib/mysqlx/result.py:753
↓ 2 callersMethodget_groups_as_dict
Returns options as dictionary of dictionaries. Returns options from all the groups specified as arguments. For each group the option
mysql-connector-python/lib/mysql/connector/optionfiles.py:340
↓ 2 callersMethodget_groups_as_dict_with_priority
Returns options as dictionary of dictionaries. Returns options from all the groups specified as arguments. For each group the option
mysql-connector-python/lib/mysql/connector/optionfiles.py:306
↓ 2 callersMethodget_header
Recover the header information from a packet.
mysql-connector-python/lib/mysql/connector/aio/network.py:336
↓ 2 callersMethodget_indexes
Return indexes from table.
mysql-connector-python/lib/mysql/connector/django/introspection.py:240
↓ 2 callersMethodget_length
Returns the column length. Returns: int: The column length.
mysqlx-connector-python/lib/mysqlx/result.py:745
↓ 2 callersMethodget_limit_offset
Returns the limit offset. Returns: int: The limit offset.
mysqlx-connector-python/lib/mysqlx/statement.py:448
↓ 2 callersMethodget_limit_row_count
Returns the limit row count. Returns: int: The limit row count.
mysqlx-connector-python/lib/mysqlx/statement.py:440
↓ 2 callersFunctionget_mysql_config
Get MySQL server configuration for running MySQL server If no name is given, then we will return the configuration of the first added.
mysqlx-connector-python/tests/__init__.py:328
↓ 2 callersMethodget_number_types
Get the list of all number types
mysql-connector-python/lib/mysql/connector/constants.py:508
↓ 2 callersMethodget_primary_key_column
Returns the name of the primary key column for the given table
mysql-connector-python/lib/mysql/connector/django/introspection.py:267
↓ 2 callersMethodget_row
Get the next rows returned by the MySQL server. This method gets one row from the result set after sending, for example, the query co
mysql-connector-python/lib/mysql/connector/aio/connection.py:897
← previousnext →701–800 of 5,006, ranked by callers