laanwj on Nostr: TIL python sqlite3 cursor objects are iterable, was always calling fetchone one by ...
TIL python sqlite3 cursor objects are iterable, was always calling fetchone one by one 😭 (or fetchmany)
Published at
2024-09-26 08:23:05Event JSON
{
"id": "0000cd1b257907388ca1edf14a497f6b66f18be66f7a38455d2948541aaf1ede",
"pubkey": "0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738",
"created_at": 1727338985,
"kind": 1,
"tags": [
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
],
[
"nonce",
"19841",
"16"
]
],
"content": "TIL python sqlite3 cursor objects are iterable, was always calling fetchone one by one 😭 (or fetchmany)",
"sig": "d37cfe9e3add6d6b1a89c8c30c835d850973ee6d327355bba28a7652b9ac6ba8a27cd4588b112397aa63711a72c4e89dd6ddc9f02015341527821e9ad8d683ed"
}