-
Hello!
I've been looking for a library like this one and I think it can be pretty useful. I want to use it to convert an object that is mapped from a table of my database (I'm using Tortoise ORM fo…
-
# Sanic 下最好用 ORM 之 databases | 晨曦's Blog
前记在使用 Sanic 的过程中对 ORM 的选择可谓是痛苦的,用过官方推荐的 Tortoise ORM,也用过 SQLAlchemy 比起使用 ORM 我更喜欢原生 SQL,当我看见 databases 的时候我发现它满足了的我所有要求,支持异步驱动 aiomysql,支持原生 SQL 写法,还封装进了 SQLA…
-
**Describe the bug**
I am using version 0.19.1 of tortoise-orm. It is not fetching the datetime fields of models correctly from from postgres database. This problem is not present in version 0.19.0.
…
-
Steps to reproduce:
- Execute aerich upgrade
- Add model level index using indexes list
```
class IndexedModel(Model):
class Meta:
table = "indexed_model"
indexes = [Index(f…
-
I have a [zalando postgres-operator](https://github.com/zalando/postgres-operator) based database cluster on my k8 cluster. I have a separate FastAPI + tortoise ORM app. Tortoise uses the postgres db …
-
I'm using fastapi and Tortoise ORM, I need add an no-database property to a model like this:
```
class Account(models.Model):
id = fields.IntField(pk=True)
email = fields.CharField(max_len…
ghost updated
3 months ago
-
* **asyncpg version**: asyncpg==0.18.3
* **PostgreSQL version**: PostgreSQL 10.6 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
* **Do you use a PostgreSQL…
-
Hi,
I'm having issues when running `aerich migrate` using version `0.6.3`. However, when downgrading to `0.6.2` the commands works properly.
Here is the complete traceback:
```bash
Traceback (…
-
Python2 is end-of-life, so fix all compatibility issues with Python3.
Some of the dependencies may make this problematic: twistar for Python3 may not have complete Python3 support.
As an alternat…
-
Is there any Example about how to use multi-database in one Sanic project?
I need to use more than one database in one Sanic project. Is there any simple example about how to config it? (more than…