Live data from Hacker News

SQLAlchemy 2.0 Released

sqlalchemy.org

1–10 of 84 posts

Re: SQLAlchemy 2.0 Released

#2
Does it fully support types?

Edit:

Oh, it seems to, that's big. For comparison, Hibernate, the Java mammoth ORM, as far as I know, never fully moved to Java 5 generics (released 18 years ago).

Also dataclasses and enums. Also big, since there used to be a lot of duplication in configuration, SQLAlchemy doing its thing and the rest of the codebase just using now standard Python 3 features.

Cool!

Re: SQLAlchemy 2.0 Released

#6
Sorry for detracting from the release news but SQLAlchemy has to have the least helpful website of any major library I can think of. I'm trying to find basic 101 code examples and it's just one wall of text after another. I found how to cite SQLAlchemy in a research paper and have yet to find a single code example.

Re: SQLAlchemy 2.0 Released

#8
post #6

Sorry for detracting from the release news but SQLAlchemy has to have the least helpful website of any major library I can think of. I'm trying to find basic 101 code examples and it's just one wall of text after another. I found how to cite SQLAlchemy in a research paper and have yet to find a single code example.

I generally try StackOverflow/Google, then documentation and then discussion issues on SQLAlchemy. IT has worked well for me.

Re: SQLAlchemy 2.0 Released

#9
post #6

Sorry for detracting from the release news but SQLAlchemy has to have the least helpful website of any major library I can think of. I'm trying to find basic 101 code examples and it's just one wall of text after another. I found how to cite SQLAlchemy in a research paper and have yet to find a single code example.

Under the Current Releases section, click the docs link then ORM Quick Start. But it's tough to find at a glance.

Re: SQLAlchemy 2.0 Released

#10
post #6

Sorry for detracting from the release news but SQLAlchemy has to have the least helpful website of any major library I can think of. I'm trying to find basic 101 code examples and it's just one wall of text after another. I found how to cite SQLAlchemy in a research paper and have yet to find a single code example.

Check out pugsql, we switched from SQLAlchemy to that because the former was overkill, and way too complex.
Post reply on HN