Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mgaunard
on May 21, 2023
|
parent
|
context
|
favorite
| on:
Writing Python like it's Rust
Most good databases actually store data per column.
So you'd have a list of batches, each batch being a dict of string to list of T.
nailer
on May 21, 2023
[β]
The article mentions connection, so itβs the connection the DB rather than the data. Ie the thing you get after you open the socket.
mgaunard
on May 22, 2023
|
parent
[β]
Hence the batching.
nailer
on May 23, 2023
|
root
|
parent
[β]
'Connection' wouldn't be a list. 'Connection' would be an item that has query() and close() functions on it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So you'd have a list of batches, each batch being a dict of string to list of T.