MasoniteFramework / orm

Masonite ORM is a beautiful Python ORM. It's also a nearly drop in replacement of the Orator ORM
https://orm.masoniteproject.com
MIT License
160 stars 47 forks source link

Little issue in first_or_create method #848

Closed LordDeveloper closed 9 months ago

LordDeveloper commented 1 year ago

Code:

user = User.first_or_create(
    {'id': sender_id}
)

Error: masoniteorm.query.QueryBuilder.QueryBuilder.create() got multiple values for keyword argument 'id_key'

cristianomg10 commented 1 year ago

Hi everybody. Unfortunately the same is happening for the update_or_create method.

tpow commented 1 year ago

This is the same problem as #843.

josephmancuso commented 9 months ago

Fixed in v2.19.2