Guide¶
How to use rustmy, topic by topic. Every page shows the blocking API; where asyncio differs, asyncio says how.
-
connect()'s arguments, timeouts, option files, Unix sockets and connection attributes. -
Placeholders, type mapping,
executemany, transactions and errors. -
Tuples or dicts, buffered or streamed, and the PEP 249 extras.
-
The binary protocol with
PreparedCursor. -
Verifying the server, client certificates, every authentication method, PAM and cloud IAM tokens.
-
zlib and zstd over slow or metered links.
-
LOAD DATA LOCAL INFILE, safely. -
Character sets and conversions
Legacy character sets and
conv=. -
rustmy.aio: the same driver on the event loop. -
rustmy.Poolfor threads,rustmy.aio.create_poolfor tasks. -
TLS, timeouts, pooling and naming the application.
-
Escaping, building SQL by hand and what an attacker on the network can and cannot do.