orm icon indicating copy to clipboard operation
orm copied to clipboard

An async ORM. 🗃

Results 23 orm issues
Sort by recently updated
recently updated
newest added

Creating a row with a manually-specified PK isn't super common but it does happen and should be supported one way or another.

Hi According to the defining structure of columns in attribute fields, how would supporting the inheritance be? Because by redefining attribute fields, parent's attribute fields will override and we will...

class RoleMenu(orm.Model): tablename = "role_menu" registry = registry_main fields = { "id": orm.BigInteger(primary_key=True), "role_id": orm.BigInteger(index=True), "menu_id": orm.BigInteger(index=True), "is_active": orm.Boolean(default=False), "is_new": orm.Boolean(default=True), } # unique_together = (("role_id", "menu_id"),)

i need convert typesystem to json, but there is no way to find to_json iused: ```python class BaseDatabase(orm.Model): fields = {} def __iter__(self): return self.__next__() def __next__(self): for k in...

define the queryset_class in model

### Checklist - [x] There are no similar issues or pull requests for this yet. - [ ] I discussed this idea on the [community chat](https://gitter.im/encode/community) and feedback is positive....

Adds testing and GH actions for Python 3.10

Hi, I've heard Tom mention that "orm doesn't have support for M2M *yet*" (and indeed it does not currently support M2M), so I figured I'd open an issue since there...

feature