ghmahdi21
Results
1
comments of
ghmahdi21
You can do: ``` from beanie import Document from pydantic import Field class User(Document): user_id: int = Field(alias="id") # This field in the database is "id" ```