MCPcopy Create free account

hub / github.com/PyMySQL/PyMySQL / functions

Functions364 in github.com/PyMySQL/PyMySQL

↓ 97 callersMethodconnect
(self, **params)
pymysql/tests/base.py:70
↓ 91 callersMethodexecute
Execute a query. :param query: Query to execute. :type query: str :param args: Parameters used with query. (optional)
pymysql/cursors.py:149
↓ 90 callersMethodcursor
Create a new cursor to execute queries with. :param cursor: The type of cursor to create. None means use Cursor. :type curso
pymysql/connections.py:560
↓ 48 callersMethodfetchone
Fetch the next row.
pymysql/cursors.py:285
↓ 24 callersMethodclose
Closing a cursor just exhausts all remaining data.
pymysql/cursors.py:52
↓ 18 callersMethod_read_packet
Read an entire "mysql packet" in its entirety from the network and return a MysqlPacket type that represents the results. :raise Oper
pymysql/connections.py:761
↓ 14 callersMethodget
(self, section, option)
pymysql/optionfile.py:19
↓ 12 callersMethodfetchall
Fetch all the rows.
pymysql/cursors.py:306
↓ 11 callersMethodsafe_create_table
create a table. Ensures any existing version of that table is first dropped. Also adds a cleanup rule to drop the table after the te
pymysql/tests/base.py:89
↓ 10 callersMethodconnect
(self, sock=None)
pymysql/connections.py:661
↓ 9 callersMethod_execute_command
:raise InterfaceError: If the connection is closed. :raise ValueError: If no username was specified.
pymysql/connections.py:867
↓ 9 callersMethodescape
Escape whatever value is passed. Non-standard, for internal use; do not use this in your applications.
pymysql/connections.py:530
↓ 8 callersMethod_get_db
(self)
pymysql/cursors.py:72
↓ 8 callersMethod_request_authentication
()
pymysql/tests/test_connection.py:997
↓ 8 callersMethodexecutemany
Run several data against one query. :param query: Query to execute. :type query: str :param args: Sequence of sequences or m
pymysql/cursors.py:173
↓ 8 callersMethodis_ok_packet
(self)
pymysql/protocol.py:181
↓ 8 callersMethodnextset
(self)
pymysql/cursors.py:104
↓ 7 callersMethod_check_executed
(self)
pymysql/cursors.py:77
↓ 7 callersMethodwrite_packet
Writes an entire "mysql packet" in its entirety to the network adding its length and sequence number.
pymysql/connections.py:749
↓ 6 callersMethod_force_close
Close connection without QUIT message.
pymysql/connections.py:448
↓ 6 callersMethod_read_ok_packet
(self)
pymysql/connections.py:471
↓ 6 callersMethodconnection
(self, **kwargs)
pymysql/tests/test_auth_state_machine.py:22
↓ 6 callersMethodpacket
(data)
pymysql/tests/test_auth_state_machine.py:19
↓ 5 callersMethodcommit
Commit changes to stable storage. See `Connection.commit() <https://www.python.org/dev/peps/pep-0249/#commit>`_ in the speci
pymysql/connections.py:494
↓ 5 callersMethodquery
(self, sql, unbuffered=False)
pymysql/connections.py:573
↓ 5 callersMethodread
(self)
pymysql/connections.py:1286
↓ 5 callersMethodread_all
Read all remaining data in the packet. (Subsequent read() will return errors.)
pymysql/protocol.py:76
↓ 4 callersMethod_do_get_result
(self)
pymysql/cursors.py:348
↓ 4 callersMethod_verify_records
(self, data)
pymysql/tests/test_basic.py:354
↓ 4 callersMethodcheck_error
(self)
pymysql/protocol.py:209
↓ 4 callersFunctiondump_packet
(data)
pymysql/protocol.py:20
↓ 4 callersMethodfetchmany
Fetch several rows.
pymysql/cursors.py:294
↓ 4 callersMethodget_all_data
(self)
pymysql/protocol.py:58
↓ 4 callersMethodread_length_encoded_integer
Read a 'Length Coded Binary' number from the data buffer. Length coded numbers can be anywhere from 1 to 9 bytes depending on the val
pymysql/protocol.py:144
↓ 4 callersMethodread_uint8
(self)
pymysql/protocol.py:111
↓ 3 callersMethod_check_packet_is_eof
(self, packet)
pymysql/connections.py:1355
↓ 3 callersMethod_clear_result
(self)
pymysql/cursors.py:338
↓ 3 callersFunction_convert_second_fraction
(s)
pymysql/converters.py:148
↓ 3 callersMethod_finish_unbuffered_query
(self)
pymysql/connections.py:1391
↓ 3 callersMethod_mogrify
Return query after binding args.
pymysql/cursors.py:107
↓ 3 callersMethod_read_ok_packet
(self, packet)
pymysql/connections.py:1324
↓ 3 callersMethod_write_bytes
(self, data)
pymysql/connections.py:837
↓ 3 callersMethodadvance
Advance the cursor in data buffer 'length' bytes.
pymysql/protocol.py:85
↓ 3 callersMethodautocommit
(self, value)
pymysql/connections.py:462
↓ 3 callersMethodclose
Send the quit message and close the socket. See `Connection.close() <https://www.python.org/dev/peps/pep-0249/#Connection.close>`_
pymysql/connections.py:422
↓ 3 callersMethodget_mysql_vendor
(self, conn)
pymysql/tests/base.py:51
↓ 3 callersMethodis_auth_switch_request
(self)
pymysql/protocol.py:191
↓ 3 callersMethodis_eof_packet
(self)
pymysql/protocol.py:185
↓ 3 callersMethodis_extra_auth_data
(self)
pymysql/protocol.py:195
↓ 3 callersMethodis_load_local_packet
(self)
pymysql/protocol.py:203
↓ 3 callersMethodread_next
Read next row.
pymysql/cursors.py:442
↓ 3 callersMethodread_struct
(self, fmt)
pymysql/protocol.py:175
↓ 3 callersMethodset_character_set
Set charset (and collation) Send "SET NAMES charset [COLLATE collation]" query. Update Connection.encoding based on charset.
pymysql/connections.py:641
↓ 2 callersMethod_ensure_cursor_expired
(self, cursor)
pymysql/tests/test_DictCursor.py:41
↓ 2 callersMethod_get_descriptions
Read a column descriptor packet for each column in the result.
pymysql/connections.py:1446
↓ 2 callersMethod_nextset
Get the next query set.
pymysql/cursors.py:90
↓ 2 callersMethod_query
(self, q)
pymysql/cursors.py:331
↓ 2 callersMethod_read_load_local_packet
(self, first_packet)
pymysql/connections.py:1333
↓ 2 callersMethod_read_query_result
(self, unbuffered=False)
pymysql/connections.py:849
↓ 2 callersMethod_read_row_from_packet
(self, packet)
pymysql/connections.py:1427
↓ 2 callersFunction_roundtrip
(conn, send_data)
pymysql/_auth.py:117
↓ 2 callersMethod_test_convert_timedelta
(self, with_negate=False, with_fsp=False)
pymysql/tests/test_converters.py:25
↓ 2 callersMethodauthenticate
(self, pkt)
pymysql/tests/test_connection.py:167
↓ 2 callersFunctionescape_item
(val, charset=None, mapping=None)
pymysql/converters.py:11
↓ 2 callersMethodfetchall_unbuffered
Fetch all, implemented as a generator, which isn't to standard, however, it doesn't make sense to return everything in a list, as tha
pymysql/cursors.py:464
↓ 2 callersMethodget_autocommit
(self)
pymysql/connections.py:468
↓ 2 callersMethodget_server_info
(self)
pymysql/connections.py:1250
↓ 2 callersMethodis_error_packet
(self)
pymysql/protocol.py:206
↓ 2 callersMethodmysql_server_is
Return True if the given connection is on the version given or greater. This only checks the server version string provided when the
pymysql/tests/base.py:30
↓ 2 callersMethodnext_result
(self, unbuffered=False)
pymysql/connections.py:582
↓ 2 callersMethodping
Check if the server is alive. `reconnect` is deprecated. Create a new connection if you want to reconnect. :param reconnect
pymysql/connections.py:594
↓ 2 callersMethodraise_for_error
(self)
pymysql/protocol.py:213
↓ 2 callersMethodread_length_coded_string
Read a 'Length Coded String' from the data buffer. A 'Length Coded String' consists first of a length coded (unsigned, positive) inte
pymysql/protocol.py:163
↓ 2 callersMethodread_uint16
(self)
pymysql/protocol.py:116
↓ 2 callersMethodrealTestDialogAuthThreeAttempts
(self)
pymysql/tests/test_connection.py:253
↓ 2 callersMethodrealTestDialogAuthTwoQuestions
(self)
pymysql/tests/test_connection.py:210
↓ 2 callersMethodrealTestPamAuth
(self)
pymysql/tests/test_connection.py:339
↓ 2 callersMethodrealtestSocketAuth
(self)
pymysql/tests/test_connection.py:142
↓ 2 callersMethodset_charset
Deprecated. Use set_character_set() instead.
pymysql/connections.py:628
↓ 2 callersFunctionsha2_rsa_encrypt
Encrypt password with salt and public_key. Used for sha256_password and caching_sha2_password.
pymysql/_auth.py:136
↓ 1 callersMethod__init__
(self, data, encoding)
pymysql/protocol.py:54
↓ 1 callersMethod__iter__
(self)
pymysql/cursors.py:359
↓ 1 callersMethod__next__
(self)
pymysql/cursors.py:362
↓ 1 callersMethod__remove_quotes
(self, value)
pymysql/optionfile.py:9
↓ 1 callersFunction_backquote_escape
(s)
pymysql/cursors.py:20
↓ 1 callersMethod_conv_row
(self, row)
pymysql/cursors.py:387
↓ 1 callersMethod_conv_row
(self, row)
pymysql/cursors.py:413
↓ 1 callersMethod_create_ssl_ctx
(self, sslp)
pymysql/connections.py:382
↓ 1 callersMethod_do_execute_many
( self, prefix, values, postfix, args, max_stmt_length, encoding )
pymysql/cursors.py:210
↓ 1 callersMethod_escape_string
(self, s: str)
pymysql/connections.py:555
↓ 1 callersMethod_get_auth_plugin_handler
(self, plugin_name)
pymysql/connections.py:1152
↓ 1 callersMethod_get_server_information
(self)
pymysql/connections.py:1182
↓ 1 callersFunction_init_nacl
()
pymysql/_auth.py:57
↓ 1 callersFunction_lenenc_int
(i)
pymysql/connections.py:75
↓ 1 callersFunction_map_error
(exc, *errors)
pymysql/err.py:76
↓ 1 callersFunction_my_crypt
(message1, message2)
pymysql/_auth.py:42
↓ 1 callersFunction_pack_int24
(n)
pymysql/connections.py:70
↓ 1 callersMethod_parse_field_descriptor
Parse the 'Field Descriptor' (Metadata) packet. This is compatible with MySQL 4.1+ (not compatible with MySQL 4.0).
pymysql/protocol.py:236
↓ 1 callersMethod_process_auth
(self, plugin_name, auth_packet, handler=None)
pymysql/connections.py:1077
↓ 1 callersMethod_read_bytes
(self, num_bytes)
pymysql/connections.py:811
next →1–100 of 364, ranked by callers