Skip to content

use BaseEntity.insert instead of .save() for new rows #118

@MaddyUnderStars

Description

@MaddyUnderStars

.save() executes a select first to see if it's truly new, which isn't necessary e.g. for user registration.
Either move to Entity.insert(Entity.create({}) or add insert alias to BaseEntity and call that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions