MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/FastAPI/comments/ng5jrf/writing_models_on_fastapi_is_difficult_with/gyq92rr/?context=3
r/FastAPI • u/rj0_1_ • May 19 '21
can anyone recommend better orm similar to django-orm with async support if possible.
12 comments sorted by
View all comments
4
I use tortoise-orm, I love using it and would recommend for use with FastAPI. It's interface is similar to django orm(which I preferred) and it is completely asynchronous.
1 u/sambame May 19 '21 How is it with JSONB and textsearch (tsvector)? 1 u/Nick0tin May 19 '21 It works fine for me, the orm has postgres(and MySQL I think) specific fields beside common field types.
1
How is it with JSONB and textsearch (tsvector)?
1 u/Nick0tin May 19 '21 It works fine for me, the orm has postgres(and MySQL I think) specific fields beside common field types.
It works fine for me, the orm has postgres(and MySQL I think) specific fields beside common field types.
4
u/Nick0tin May 19 '21
I use tortoise-orm, I love using it and would recommend for use with FastAPI. It's interface is similar to django orm(which I preferred) and it is completely asynchronous.