There is relatively new Python 3 aiohttp library that contains client/server. Does it contain ORM? If not - is it possible to use it with 3-rd party ORM? If not possible - for which purpose it could be used? I don't mean that app could not be written without ORM, but major waste of Python Frameworks support it and developers are used to such style of programming.
相关问题
- Django __str__ returned non-string (type NoneType)
- How to postpone/defer the evaluation of f-strings?
- ImportError shows up with py.test, but not when ru
- Comparing pd.Series and getting, what appears to b
- Django Attribute error 'datetime.timedelta'
相关文章
- 用哪个ORM好点,博客园用的什么
- Airflow depends_on_past explanation
- Raspberry Pi-Python: Install Pandas on Python 3.5.
- Hibernate doesn't generate cascade
- Numpy array to TFrecord
- How to split a DataFrame in pandas in predefined p
- Error following env.render() for OpenAI
- AttributeError: 'Series' object has no att
Short answer -- aiohttp has no ORM yet.
You can use SQLAlchemy-like queries for aiopg driver, see example
The same is available for aiomysql.
The support is not full-fledged Object-Relational Mapping but only helpers for making SQL queries easier.
Update in 2018: there is GINO now, built on top of SQLAlchemy core and asyncpg for asyncio.