3 ms·
There's so many super useful things in the Python docs that you never see in the wild. For example, I recently learned that the sqlite3 module has a set_authori
by Frotag 1y ago
There's so many super useful things in the Python docs that you never see in the wild. For example, I recently learned that the sqlite3 module has a set_authorizer function that lets you limit the types of statements that can be run / tables that can be accessed.
https://www.sqlite.org/c3ref/set_authorizer.html https://www.sqlite.org/c3ref/set_authorizer.html
https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.set_authorizer https://docs.python.org/3/library/sqlite3.html#sqlite3.Conne...