MCPcopy Create free account

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

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

↓ 1 callersMethodwait_down
(self, tries=10, delay=1)
mysql-connector-python/tests/mysqld.py:940
↓ 1 callersMethodwait_up
Wait until the MySQL server is up This method can be used to wait until the MySQL server is started. True is returned when the MySQL
mysqlx-connector-python/tests/mysqld.py:801
↓ 1 callersMethodwait_up
(self, tries=10, delay=1)
mysqlx-connector-python/tests/mysqld.py:937
↓ 1 callersMethodwait_up
(self, tries=10, delay=1)
mysql-connector-python/tests/mysqld.py:937
↓ 1 callersFunctionwarn_ciphersuites_deprecated
Emits a warning if a deprecated cipher is being utilized. Args: cipher: Must be ingested as OpenSSL name. tls_versions: TLS versi
mysqlx-connector-python/lib/mysqlx/utils.py:142
↓ 1 callersFunctionwarn_tls_version_deprecated
Emits a warning if a deprecated TLS version is being utilized. Args: tls_versions: TLS version to check. Raises: Deprecation
mysqlx-connector-python/lib/mysqlx/utils.py:162
↓ 1 callersMethodwho_am_i
Returns the name of this database object. Returns: str: The name of this database object. .. deprecated:: 8.0.12
mysqlx-connector-python/lib/mysqlx/crud.py:166
↓ 1 callersMethodwrite_config_file
(self, use_pure, test_file)
mysql-connector-python/tests/test_bugs.py:5970
FunctionAddPyListToMessageRepeatedField
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:399
MethodBadPythonCast
mysqlx-connector-python/src/mysqlxpb/python_cast.h:42
MethodCsbufferring_test1
Test client-side buffering.
mysqlx-connector-python/tests/qa/test_qa_mysqlx_crud_collection_find.py:1969
FunctionDateFromTicks
Construct an object holding a date value from the given ticks value.
mysql-connector-python/lib/mysql/connector/dbapi.py:71
FunctionEnumValue
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:924
FunctionMyFree
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:961
FunctionMySQLPrepStmt_close
Closes the prepared statement. @param self MySQLPrepStmt instance @return None @retval Py_None OK */
mysql-connector-python/src/mysql_capi.c:3932
FunctionMySQLPrepStmt_dealloc
MySQLPrepStmt instance destructor function. MySQLPrepStmt instance destructor freeing result (if any) and closing the statement. @param sel
mysql-connector-python/src/mysql_capi.c:3263
FunctionMySQLPrepStmt_execute
Executes a prepared statement. Binds the values of the prepared statement executes it. Raises MySQLInterfaceError for any MySQL error returned
mysql-connector-python/src/mysql_capi.c:3285
FunctionMySQLPrepStmt_fetch_row
Fetch the next row from the active result. Fetch the next row from the active result. The row is returned as a tuple which contains the values co
mysql-connector-python/src/mysql_capi.c:3639
FunctionMySQLPrepStmt_init
MySQLPrepStmt instance initialization function. @param self MySQLPrepStmt instance @param args positional arguments @param kwarg
mysql-connector-python/src/mysql_capi.c:3249
FunctionMySQLPrepStmt_new
MySQLPrepStmt instance creation function. MySQLPrepStmt instance creation function. It allocates the new MySQLPrepStmt instance and sets default
mysql-connector-python/src/mysql_capi.c:3217
FunctionMySQLPrepStmt_reset
Resets the prepared statement. Resets a prepared statement on client and server to state after prepare. @param self MySQLPrepStmt instance
mysql-connector-python/src/mysql_capi.c:3906
FunctionMySQL_affected_rows
Return number of rows updated by the last statement. Return the number of rows changed, inserted or deleted by the last UPDATE, INSERT or DELETE
mysql-connector-python/src/mysql_capi.c:2451
FunctionMySQL_autocommit
Toggle autocommit. Toggle autocommit to be on or off. Raises ValueError when mode is not a PyBool_type (Py_True or Py_False). @param sel
mysql-connector-python/src/mysql_capi.c:810
FunctionMySQL_buffered
Toggle and return whether results are buffered (stored) or not. Return whether the MySQL instance is buffering or storing the results. If a boole
mysql-connector-python/src/mysql_capi.c:557
FunctionMySQL_change_user
Change user and set new default database. Change user and set new default database using the positional and keyword arguments. Arguments can be
mysql-connector-python/src/mysql_capi.c:847
FunctionMySQL_character_set_name
Return the default character set name for the current session. Return the default character set name for the current session. Raises ValueError
mysql-connector-python/src/mysql_capi.c:978
FunctionMySQL_commit
Commit the current transaction. Commit the current transaction. Raises MySQLInterfaceError on errors. @param self MySQL instance @re
mysql-connector-python/src/mysql_capi.c:1087
FunctionMySQL_connect
Connect with a MySQL server. Connect with a MySQL server using the positional and keyword arguments. Note that some connection argument are fir
mysql-connector-python/src/mysql_capi.c:1131
FunctionMySQL_connected
Return whether MySQL instance is connected or not. Return whether the MySQL instance is connected or not. @param self MySQL instance @r
mysql-connector-python/src/mysql_capi.c:786
FunctionMySQL_consume_result
Consume the result. Consume the stored result for this MySQL instance by fetching all rows. MySQL_free_result() is called to reset the result i
mysql-connector-python/src/mysql_capi.c:527
FunctionMySQL_convert_to_mysql
Convert Python values to MySQL values. Convert Python values to MySQL values based on the Python type of each value to convert. The converted val
mysql-connector-python/src/mysql_capi.c:1971
FunctionMySQL_dealloc
MySQL instance destructor function. MySQL instance destructor freeing result (if any) and closing the connection. @param self MySQL in
mysql-connector-python/src/mysql_capi.c:318
FunctionMySQL_fetch_fields
Fetch column information for active MySQL result. Fetch column information for active MySQL result. The returned PyObject is a PyList which cons
mysql-connector-python/src/mysql_capi.c:2647
FunctionMySQL_fetch_row
Fetch the next row from the active result. Fetch the next row from the active result. The row is returned as a tuple which contains the values co
mysql-connector-python/src/mysql_capi.c:2691
FunctionMySQL_field_count
Return number of columns in last result. @param self MySQL instance @return MySQL connection thread ID @retval PyInt Python v3
mysql-connector-python/src/mysql_capi.c:2478
FunctionMySQL_get_character_set_info
Get information about the default character set. Get information about the default character set for the current MySQL session. The returned dict
mysql-connector-python/src/mysql_capi.c:1647
FunctionMySQL_get_client_info
Get MySQL client library version as string. @param self MySQL instance @return MySQL client version as string. @retval PyUnicode P
mysql-connector-python/src/mysql_capi.c:1688
FunctionMySQL_get_client_version
Get MySQL client library version as tuple. @param self MySQL instance @return MySQL version as sequence of integers. @retval PyTuple
mysql-connector-python/src/mysql_capi.c:1708
FunctionMySQL_get_host_info
Get description of the type of connection in use. @param self MySQL instance @return Connection description as string. @retval PyUni
mysql-connector-python/src/mysql_capi.c:1735
FunctionMySQL_get_proto_info
Get protocol version used by current connection. @param self MySQL instance @return MySQL server version as string. @retval PyInt
mysql-connector-python/src/mysql_capi.c:1758
FunctionMySQL_get_server_info
Get MySQL server version as string. @param self MySQL instance @return MySQL server version as string. @retval PyUnicode Python v3
mysql-connector-python/src/mysql_capi.c:1780
FunctionMySQL_get_server_version
Get MySQL server version as tuple. @param self MySQL instance @return MySQL version as sequence of integers. @retval PyTuple OK
mysql-connector-python/src/mysql_capi.c:1802
FunctionMySQL_get_ssl_cipher
Get SSL cipher used for the current connection. @param self MySQL instance @return SSL cipher as string. @retval PyUnicode Python
mysql-connector-python/src/mysql_capi.c:1830
FunctionMySQL_hex_string
Encode string in hexadecimal format. Encode value in hexadecimal format and wrap it inside X''. For example, "spam" becomes X'68616d'. @param
mysql-connector-python/src/mysql_capi.c:1856
FunctionMySQL_init
MySQL instance initialization function. MySQL instance initialization function. It handles the connection arguments passed as positional or keywo
mysql-connector-python/src/mysql_capi.c:401
FunctionMySQL_insert_id
Get the ID generated by AUTO_INCREMENT column. Get the ID generated by the AUTO_INCREMENT column by the previous executed query. @param sel
mysql-connector-python/src/mysql_capi.c:1904
FunctionMySQL_more_results
Check whether any more results exists. @param self MySQL instance @param args Python values to be converted @return Boolean Obje
mysql-connector-python/src/mysql_capi.c:2532
FunctionMySQL_new
MySQL instance creation function. MySQL instance creation function. It allocates the new MySQL instance and sets default values private members.
mysql-connector-python/src/mysql_capi.c:347
FunctionMySQL_next_result
Initiates the next result with multiple-results. Raises MySQLInterfaceError for any MySQL error returned by the MySQL server. @param self
mysql-connector-python/src/mysql_capi.c:2605
FunctionMySQL_num_fields
Get number of fields in active result. @param self MySQL instance @return Number of fields as PyInt @retval PyInt Python v3 @r
mysql-connector-python/src/mysql_capi.c:2918
FunctionMySQL_num_rows
Get number of rows in active result. @param self MySQL instance Raises MySQLError when there is no result. @return Number of rows as
mysql-connector-python/src/mysql_capi.c:2891
FunctionMySQL_ping
Check whether connection is working. Check whether connection to the MySQL is working. @param self MySQL instance @return Boolean Obj
mysql-connector-python/src/mysql_capi.c:1934
FunctionMySQL_query
Execute an SQL query. Execute an SQL query using the current connection. The arguments allowed are statement, buffered, raw and raw_as_string.
mysql-connector-python/src/mysql_capi.c:2101
FunctionMySQL_raw
Toggle and return whether results are converted to Python types or not. Return whether the MySQL instance will return the rows as-is, meaning not
mysql-connector-python/src/mysql_capi.c:598
FunctionMySQL_refresh
Flush or reset tables and caches. Flush or reset tables and caches. The only argument currently allowed is an integer. Raises TypeError when f
mysql-connector-python/src/mysql_capi.c:2949
FunctionMySQL_reset_connection
Resets current connection. Resets this connection to MySQL. @param self MySQL instance @return Boolean Object Py_True or Py_False
mysql-connector-python/src/mysql_capi.c:3027
FunctionMySQL_rollback
Roll back the current transaction. Raises MySQLInterfaceError on errors. @param self MySQL instance @return PyNone or NULL. @retv
mysql-connector-python/src/mysql_capi.c:2503
FunctionMySQL_select_db
Select and set the default (current) database. Select and set the default or current database for the current connection. Raises MySQLInterfac
mysql-connector-python/src/mysql_capi.c:2388
FunctionMySQL_set_character_set
Set the default character set for the current session. Set the default character set for the current session. The only arg allowed is a PyString_
mysql-connector-python/src/mysql_capi.c:1007
FunctionMySQL_set_load_data_local_infile_option
Set the local_infile_in_path for the current session. Set the local_infile_in_path for the current session. The directory from where a load data
mysql-connector-python/src/mysql_capi.c:1050
FunctionMySQL_shutdown
Shut down the MySQL server. Shut down the MySQL server. The only argument currently allowed is an integer which describes the shutdown type. R
mysql-connector-python/src/mysql_capi.c:3064
FunctionMySQL_st_affected_rows
Return number of rows changed by the last statement. Return number of rows changed by the last statement. @param self MySQL instance @r
mysql-connector-python/src/mysql_capi.c:674
FunctionMySQL_st_client_flag
Return client flags of the current session. Return client flags of the current session. @param self MySQL instance @return PyInt_Type
mysql-connector-python/src/mysql_capi.c:690
FunctionMySQL_st_field_count
Return field count of the current session. Return field count of the current session. @param self MySQL instance @return PyInt_Type
mysql-connector-python/src/mysql_capi.c:706
FunctionMySQL_st_insert_id
Return insert ID. Return insert ID. @param self MySQL instance @return PyInt_Type @retval PyInt_Type OK */
mysql-connector-python/src/mysql_capi.c:722
FunctionMySQL_st_server_capabilities
Return server capabilities. Return server capabilities. @param self MySQL instance @return PyInt_Type @retval PyInt_Type OK */
mysql-connector-python/src/mysql_capi.c:738
FunctionMySQL_st_server_status
Return server status flag. Return server status flag. @param self MySQL instance @return PyInt_Type @retval PyInt_Type OK */
mysql-connector-python/src/mysql_capi.c:754
FunctionMySQL_st_warning_count
Return warning count. Return warning count. @param self MySQL instance @return PyInt_Type @retval PyInt_Type OK */
mysql-connector-python/src/mysql_capi.c:770
FunctionMySQL_stat
Get the server status as string. Get the server status as string. Raises MySQLErrorInterface when an error is retured by the MySQL server.
mysql-connector-python/src/mysql_capi.c:3106
FunctionMySQL_stmt_prepare
Prepare a SQL statement. Prepare a SQL statement using the current connection. Raises MySQLInterfaceError for any MySQL error returned by the
mysql-connector-python/src/mysql_capi.c:3139
FunctionMySQL_thread_id
Get the current thread or connection ID. @param self MySQL instance @return MySQL connection thread ID @retval PyInt Python v3
mysql-connector-python/src/mysql_capi.c:2358
FunctionMySQL_use_unicode
Toggle and return whether Unicode strings will be returned. Return whether the MySQL instance will return non-binary strings as Unicode. If a boo
mysql-connector-python/src/mysql_capi.c:638
FunctionMySQL_warning_count
Return the warning count of previous SQL statement. @param self MySQL instance @return MySQL connection thread ID @retval PyInt Py
mysql-connector-python/src/mysql_capi.c:2425
MethodMyScopedPtr
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:56
FunctionNewMessage
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:766
MethodOverlaps_CollModify_test1
Overlaps in collection.modify.
mysqlx-connector-python/tests/qa/test_qa_mysqlx_crud_collection_modify.py:1151
FunctionParseMessage
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:809
FunctionParseServerMessage
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:867
FunctionPyInit__mysqlxpb
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:965
MethodSLAVE
Return the deprecated alias of RefreshOption.REPLICA. Raises a warning about this attribute deprecation.
mysql-connector-python/lib/mysql/connector/constants.py:878
FunctionSerializeMessage
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:888
FunctionSerializePartialMessage
mysqlx-connector-python/src/mysqlxpb/mysqlxpb.cc:906
FunctionTimeFromTicks
Construct an object holding a time value from the given ticks value.
mysql-connector-python/lib/mysql/connector/dbapi.py:76
FunctionTimestampFromTicks
Construct an object holding a time stamp from the given ticks value.
mysql-connector-python/lib/mysql/connector/dbapi.py:81
Method__aenter__
(self)
mysql-connector-python/lib/mysql/connector/aio/pooling.py:352
Method__aenter__
(self)
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:310
Method__aenter__
(self)
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2067
Method__aexit__
( self, exc_type: Type[BaseException], exc_value: BaseException, traceback: Tr
mysql-connector-python/lib/mysql/connector/aio/pooling.py:355
Method__aexit__
( self, exc_type: Optional[Type[BaseException]] = None, exc_value: Optional[BaseExcept
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:315
Method__aexit__
( self, exc_type: Optional[Type[BaseException]] = None, exc_value: Optional[BaseExcept
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2070
Method__aiter__
Iterate over result set. Iteration over the result set which calls self.fetchone() and returns the next row.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2078
Method__anext__
Used for iterating over the result set. Calls self.fetchone() to get the next row.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2086
Method__call__
(self, matchobj: object)
mysql-connector-python/lib/mysql/connector/cursor_cext.py:107
Method__call__
(self, matchobj: re.Match)
mysql-connector-python/lib/mysql/connector/cursor.py:128
Method__call__
(self, matchobj: re.Match)
mysql-connector-python/lib/mysql/connector/aio/cursor.py:99
Method__contains__
(self, item: str)
mysqlx-connector-python/lib/mysqlx/dbdoc.py:83
Method__del__
(self)
mysqlx-connector-python/lib/mysqlx/connection.py:346
Method__del__
(self)
mysql-connector-python/lib/mysql/connector/network.py:483
Method__enter__
(self)
mysqlx-connector-python/lib/mysqlx/connection.py:2194
Method__enter__
(self)
mysqlx-connector-python/lib/mysqlx/connection.py:2503
← previousnext →1,501–1,600 of 5,006, ranked by callers